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

Manuel Quiñones manuq at laptop.org
Thu Sep 27 08:16:27 EDT 2012


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.  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.

-- 
.. manuq ..


More information about the Sugar-devel mailing list