After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 734485 - Switches are too big, glow effect makes it hard to read "ON"
Switches are too big, glow effect makes it hard to read "ON"
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Themes
3.13.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2014-08-08 14:15 UTC by Allan Day
Modified: 2014-08-10 11:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Allan Day 2014-08-08 14:15:27 UTC
The switches currently look rather big to me. The text-shadow below ON also looks a bit heavy and makes it hard to read the text.

Some adjustments that work for me with GTK+ Inspector:

GtkSwitch { -GtkSwitch-slider-width: 44px; }
GtkSwitch.trough:active { text-shadow: 0 0 2px #adc7e3; }
Comment 1 Jakub Steiner 2014-08-08 14:26:04 UTC
The reason for the enlarged size was to match buttons, entries and switches height. Personally I care a lot about vertical alignment, but this may not really be necessary.
Comment 2 Lapo Calamandrei 2014-08-08 21:21:12 UTC
The switch matched the old button size, now it doesn't match anymore (the correct slider width value for a match now is 55px - !!!), so they can be smaller, with 44px the text is not vertically centered, 45px works for me, regarding the glow, I don't like what Allan proposes, but I'm thinking about changing the bg so I'll tweak it. I'll push the slider width change in the meantime.
Comment 3 Lapo Calamandrei 2014-08-08 21:43:50 UTC
I played with the switch a bit, I think I solved your issues, check it out and close the bug if you think it's ok.
Comment 4 Matthias Clasen 2014-08-10 11:23:14 UTC
How about we close it now, and Allan reopens it if he's not satisfied ?