[Sugar-devel] [PATCH sugar-artwork] Set notebook padding to 0px in the GTK3 CSS #3482
Manuel Quiñones
manuq at laptop.org
Thu Apr 26 10:33:29 EDT 2012
El día 26 de abril de 2012 11:25, Simon Schampijer
<simon at schampijer.de> escribió:
> On 04/24/2012 06:40 PM, Manuel Quiñones wrote:
>>
>> This removes the 2 pixel padding that was around all the notebook
>> page, preventing a confortable use of the scroll bar with the mouse
>> pointer, as #3482 describes.
>>
>> Signed-off-by: Manuel Quiñones<manuq at laptop.org>
>> ---
>> gtk3/theme/gtk-widgets.css.em | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
>> index 6c823b6..dce2a58 100644
>> --- a/gtk3/theme/gtk-widgets.css.em
>> +++ b/gtk3/theme/gtk-widgets.css.em
>> @@ -279,7 +279,7 @@ SugarPaletteWindowWidget GtkToggleButton.button:active
>> {
>>
>> .notebook {
>> background-color: @selection_grey;
>> - border-width: 0px;
>> + padding: 0px;
>> -GtkNotebook-tab-overlap: -2;
>> -GtkNotebook-tab-curvature: $default_padding;
>> }
>
>
> Thanks Manuel, works great, pushed as
> http://git.sugarlabs.org/sugar-artwork/mainline/commit/0847edc8e37317fced59cbb1fc35709202ef1ad4
>
> Thanks Anish for testing.
>
> The Terminal has the same issue, we should do the same. I think it is fine
> to do (make sure) when we port Terminal to GTK-3, filed [1].
Nice catch. Yes, when we port the activity the extra border will be
gone, good to track it in a ticket.
--
.. manuq ..
More information about the Sugar-devel
mailing list