[Bugs] #4019 sugar-artwork NORM: Subtoolbars have 1px border
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Thu Jan 10 13:16:42 EST 2013
#4019: Subtoolbars have 1px border
------------------------------+---------------------------------------------
Reporter: manuq | Owner: manuq
Type: defect | Status: new
Priority: Normal | Milestone: 1.0
Component: sugar-artwork | Version: 0.97.x
Severity: Unspecified | Keywords:
Distribution: Unspecified | Status_field: Unconfirmed
------------------------------+---------------------------------------------
Comment(by manuq):
I have tried this change:
{{{
--- a/src/sugar3/graphics/toolbarbox.py
+++ b/src/sugar3/graphics/toolbarbox.py
@@ -286,8 +286,7 @@ class _Box(Gtk.EventBox):
def _setup_page(page_widget, color, hpad):
- vpad = style.FOCUS_LINE_WIDTH
- page_widget.get_child().set_padding(vpad, vpad, hpad, hpad)
+ page_widget.get_child().set_padding(0, 0, hpad, hpad)
page = _get_embedded_page(page_widget)
page.modify_bg(Gtk.StateType.NORMAL, color)
}}}
And the subtoolbar gets the original height, but looses part of the top
outline. See attached animation. Commit 820efa56 shows that this 'vpad'
was in GTK2 too, so the issue is in another part.
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/4019#comment:1>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list