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>2013-01-23 14:40:10 (GMT)
committer Ajay Garg <ajay@activitycentral.com>2013-02-16 05:07:46 (GMT)
commit1fe359d28a132a3fcab145eb8b332be3e2250b3e (patch)
treed99d66953fccb744d4f58d37ded02267e65a4057
parent795aeb90625586c53e3af21b1ed281b6c5e92c50 (diff)
Notebook: make scroll arrows 2.5 times bigger for touch interaction - SL #4185
In gtk+ gtknotebook.c gtk_notebook_get_arrow_rect [1] we can see that the size of the rect that contains the arrow is set by the style properties scroll-arrow-hlength and scroll-arrow-vlength [2]. [1] http://git.gnome.org/browse/gtk+/tree/gtk/gtknotebook.c#n2696 [2] http://developer.gnome.org/gtk3/stable/GtkWidget.html#GtkWidget--s-scroll-arrow-hlength Signed-off-by: Manuel QuiƱones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> Signed-off-by: Ajay Garg <ajay@activitycentral.com>
-rw-r--r--gtk3/theme/gtk-widgets.css.em2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
index 94dceda..8b25a9a 100644
--- a/gtk3/theme/gtk-widgets.css.em
+++ b/gtk3/theme/gtk-widgets.css.em
@@ -327,6 +327,8 @@ GtkComboBox .separator {
padding: 0px;
-GtkNotebook-tab-overlap: -2;
-GtkNotebook-tab-curvature: $default_padding;
+ -GtkWidget-scroll-arrow-hlength: $(my_floor(2.5 * subcell_size));
+ -GtkWidget-scroll-arrow-vlength: $(my_floor(2.5 * subcell_size));
}
.notebook tab {