[Sugar-devel] [PATCH sugar-artwork] Set height for all the GtkNotebook tabs

S. Daniel Francis francis at sugarlabs.org
Thu Sep 27 12:13:37 EDT 2012


2012/9/27 Manuel Quiñones <manuq at laptop.org>:
> Hey Dani,
>
> 2012/9/26 S. Daniel Francis <francis at sugarlabs.org>:
>> 2012/9/26 Daniel Francis <francis at sugarlabs.org>:
>>> +    padding-top: $(icon_large * 0.30)px;
>>> +    padding-bottom: $(icon_large * 0.30)px;
>>
>> I spoke too early, this solution doesn't work as expected with tab
>> close buttons. "Ooops!"
>
> :)  I think the way to do it is setting top and bottom padding to the
> label inside the tab.
Thanks for the tip. :)

>  But we have to find the exact number to make
> the tab the same tall when it has only labels
> and when it has labels and buttons.
>
> Maybe start using the same as the button padding wich is $(border)px
> and add a bit of salt.

In my patch I used the icon size, but there's to test which is better.

Regards,
Daniel.


More information about the Sugar-devel mailing list