[Bug 422511] Re: problem with new scrollbar in Human theme - GtkRange::trough-border set to 2
Nikola Kovacs
Nx.devnull at gmail.com
Thu Oct 1 00:48:24 UTC 2009
I think this is a nicer solution than my previous patch. I removed
trough-border from calculations for the slider rectangle (which is used
for mouse detection) and instead add/subtract the correct values when
drawing the slider.
For Firefox, I wanted to do something similar, modifying
moz_gtk_scrollbar_thumb_paint() to draw a smaller slider, but otherwise
using 0 for trough_border. I'm having problems implementing the latter,
because even if I explicitly set metrics->trough_border to 0 in
moz_gtk_get_scrollbar_metrics(), I can't see any difference.
** Attachment added: "Alternative patch for Gtk2"
http://launchpadlibrarian.net/32763472/slider_trough_border_alt.patch
--
problem with new scrollbar in Human theme - GtkRange::trough-border set to 2
https://bugs.launchpad.net/bugs/422511
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to Mozilla Firefox.
More information about the Ubuntu-mozillateam-bugs
mailing list