Fwd: Unable to set background color for button





---------- Forwarded message ---------
From: Daniel Boles <dboles src gmail com>
Date: Wed, 4 Mar 2020, 18:27
Subject: Re: Unable to set background color for button
To: Klaus Rudolph <lts-rudolph gmx de>


that is another typical 'gotcha'. you need to unset the background-image, or just set the shorthand background property instead of only background-color.

the default theme applies a background-image gradient, and image overrides color.

see C GTK docs for CSS node/class info. i can't recall whether gtkmm's doc conversion preserves that section.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]