Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Quiñones <manuq@laptop.org>2012-11-14 13:50:36 (GMT)
committer Manuel Quiñones <manuq@laptop.org>2012-11-21 16:23:44 (GMT)
commitf48950c24fc11d6070ad91dbd234436cb8d399f1 (patch)
tree454b4b6f8e883d316788d5839ac6b33e51249877
parent6932e87d68816f449b84e9d42c3420fc7dc8f49d (diff)
Make the overflow button wider - SL #4192
Currently is more narrow than the gtk2 one. Needs to be even wider to be touch friendly. For this, add padding to the arrow inside the toolbar overflow button. This rule is set by the widget name. In the gtk+ code we can see: gtk_widget_set_name (priv->arrow, "gtk-toolbar-arrow"); So #gtk-toolbar-arrow will match it. Signed-off-by: Manuel Quiñones <manuq@laptop.org>
-rw-r--r--gtk3/theme/gtk-widgets.css.em4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
index d41c319..1307b0a 100644
--- a/gtk3/theme/gtk-widgets.css.em
+++ b/gtk3/theme/gtk-widgets.css.em
@@ -558,6 +558,10 @@ SugarPaletteWindowWidget SugarRadioToolButton .button {
border-style: none;
}
+.toolbar .button #gtk-toolbar-arrow {
+ padding: 0 $(subcell_size + default_padding)px;
+}
+
.toolbar GtkToolButton .button,
.toolbar SugarRadioToolButton *,
SugarPaletteWindowWidget SugarRadioToolButton *,