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 Ajay Garg <ajay@activitycentral.com>2012-11-23 20:17:44 (GMT)
commitdcaadaa4fcec2abe56aa18a5467acd2d1fd858cf (patch)
tree417b250beddfe2b04bfdd34305fa36fa5fa93891
parent7d5ad738f666072958e6b8636340f3a292980c6b (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> Signed-off-by: Ajay Garg <ajay@activitycentral.com>
-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 9a2496e..5208740 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 *,