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 Manuel Quiñones <manuq@laptop.org>2013-02-15 14:55:56 (GMT)
commit9401b6b6aa7d0d59b38e1ebd19fbf04a43a128c4 (patch)
tree372beea8bba05e6e1a64148aebd7028b0b4740f9
parent813c9bf005c7968fc92ce7d0a97e542d5b39e879 (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>
-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 16149fa..3861690 100644
--- a/gtk3/theme/gtk-widgets.css.em
+++ b/gtk3/theme/gtk-widgets.css.em
@@ -322,6 +322,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 {