]> Pileus Git - ~andy/gtk/commit
range: read and use CSS margin values for the trough component
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 16 May 2012 21:01:33 +0000 (17:01 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Thu, 17 May 2012 13:42:42 +0000 (09:42 -0400)
commite32da246a84492f02b4dac5a448bb46cb23d68b8
treeefee53d77c4280785464dca7f35ea4648d4c0f94
parentfb968e6e740fe91af976d58140e6cdf5b08527fa
range: read and use CSS margin values for the trough component

Many themes want to render the trough background/stroke thinner than the
full height/width (which is constructed around the value of the
'slider-width' style property).
Read and apply the CSS margin from the theme on the trough component, so
that themes can make it smaller at their will without the need to
override the render_background, render_frame and render_activity methods
of GtkThemingEngine.

https://bugzilla.gnome.org/show_bug.cgi?id=676196
gtk/gtkrange.c