[Sugar-devel] [PATCH sugar-artwork] Remove radius between the two sides of the GtkScale trough

Manuel Quiñones manuq at laptop.org
Tue Aug 28 18:05:01 EDT 2012


2012/8/28 Simon Schampijer <simon at schampijer.de>:
> On 08/27/2012 05:35 PM, Manuel Quiñones wrote:
>>
>> We had a radius set for all the corners of the trough, and that was
>> making the bar rounded at the two sides of the slider.  This was
>> partially hidden below the slider.
>>
>> Also remove the hardcoded number for the radius.
>>
>> The GtkScale still needs love.
>>
>> Signed-off-by: Manuel Quiñones <manuq at laptop.org>
>
>
> How can I best see this change?

I've sent a patch that adds a testcase for the Gtk sliders.  Or you
can see in the sliders of the color palette of toolbuttons.py
testcase.

Basically this changes the sliders bar from:

(---)(___)

To:

(---|___)

Removing the rounded corners in the middle.  This widget still needs
to be styled, the bar (the trough) is getting the height of the
slider.

-- 
.. manuq ..


More information about the Sugar-devel mailing list