Re: They broke the CSS custom color settings in 3.20
- From: Timm Bäder <mail baedert org>
- To: Stefan Salewski <mail ssalewski de>
- Cc: gtk-list gnome org
- Subject: Re: They broke the CSS custom color settings in 3.20
- Date: Sat, 12 Nov 2016 10:52:55 +0100
On 12.11, Stefan Salewski wrote:
Setting the colors was
done this way for GTK 3.18:
const
str0 = ".tooltip {background-color: rgba($1, $2, $3, 0.9); color: rgba($4, $5, $6, 1.0); \n}"
it's tooltip { background-color: foobar }.
Unless the theme sets a background image of course, in which case your
background-color won't have any effect...
Even for a simple test application setting of background color seems
not to work any more:
https://github.com/ngtk3/nim-gtk3/blob/master/test/colors.nim
It's label{} for labels, entry{} for entries, etc. The documentation
under https://developer.gnome.org/gtk3/stable/GtkEntry.html contains a
"CSS Nodes" section explaining how to target the individual nodes of the
widget.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]