Opened 7 years ago

Last modified 6 years ago

#4257 new enhancement

Toolbar overflow button: add a better looking arrow

Reported by: manuq Owned by: erikos
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Sugar Version: Unspecified
Severity: Unspecified Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

See this comment on ticket #4192, which has a mockup and the icon attached.

Change History (3)

comment:1 Changed 7 years ago 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;
}

comment:2 Changed 6 years ago by dnarvaez

  • Component changed from sugar-artwork to Sugar
  • Owner changed from manuq to erikos

comment:3 Changed 6 years ago by dnarvaez

  • Milestone changed from 1.0 to Unspecified
Note: See TracTickets for help on using tickets.