[Bugs] #4257 sugar-artwork UNSP: Toolbar overflow button: add a better looking arrow
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Tue Jan 15 15:00:07 EST 2013
#4257: Toolbar overflow button: add a better looking arrow
------------------------------------------+---------------------------------
Reporter: manuq | Owner: manuq
Type: enhancement | Status: new
Priority: Unspecified by Maintainer | Milestone: 1.0
Component: sugar-artwork | Version: Unspecified
Severity: Unspecified | Keywords:
Distribution: Unspecified | Status_field: Unconfirmed
------------------------------------------+---------------------------------
Comment(by manuq):
Seems not possible in current GTK. The overflow button is a private
GtkToggleButton that has a GtkArrow inside:
http://git.gnome.org/browse/gtk+/tree/gtk/gtktoolbar.c#n689
The arrow can be styled, and we already did, because it has a name:
{{{
gtk_widget_set_name (priv->arrow, "gtk-toolbar-arrow");
}}}
In order to style the togglebutton, we should send a patch to gtk+. We
could then set a background-image to it.
For now, at least we can improve a little bit making the arrow bigger:
{{{
.toolbar .button #gtk-toolbar-arrow {
padding: 0 $(subcell_size + default_padding)px;
+ -GtkArrow-arrow-scaling: 2.0;
}
}}}
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/4257#comment:1>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list