Re: A toggled toggle button visually almost indistinct from untoggled

On Wed, Apr 19, 2017 at 11:12 AM, infirit <infirit gmail com> wrote:
Op 04/19/2017 om 01:41 AM schreef Dan Stromberg:
On Thu, Apr 13, 2017 at 3:55 PM, Emmanuele Bassi <ebassi gmail com> wrote:

The default Adwaita theme has a fair distinction between states:

I switched to the Adwaita theme on both systems.

But it's still pretty hard to tell if a toggle button has been selected or

You are pretty much at the mercy of the theme developers, the only option to be sure to have properly distinguishable states is to style it yourself.

The text color isn't changing at all from what I can see, and the
background color change remains slight.

I modified your script and made the background in checked state red by loading some css. This is of course a silly example and you should adjust it to your needs but it shows how it is done. One option is to set a border colour.

That was very helpful.  'More help than I could reasonably hope for.

Thank you very much! 

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