aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2016-08-26 03:38:03 -0400
committerAlexander Kurtakov2016-08-26 03:38:03 -0400
commit66ba477e7193ce2dc99a71e2a64f3dbdae5de469 (patch)
tree7c86cf82bca57a28281f1e9066959f1fff674163
parentcfc86c0a0761337df72c1e36b4b8184ab52cae23 (diff)
downloadeclipse.platform.swt-66ba477e7193ce2dc99a71e2a64f3dbdae5de469.zip
eclipse.platform.swt-66ba477e7193ce2dc99a71e2a64f3dbdae5de469.tar.gz
eclipse.platform.swt-66ba477e7193ce2dc99a71e2a64f3dbdae5de469.tar.xz
Bug 500314 - Reduce padding around tabs
Gtk default padding for tabs is 12px left and right. Reducing it by half (6px each) still gives enough padding but preserves space and allows more tabs to be visible instead of scrolling them. Applied only for GTK 3.20+. Change-Id: I58e68284d0cb7d249533c6236d7d1bbfc22eb0e5 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/swtgtk_320.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/swtgtk_320.css b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/swtgtk_320.css
index b7baa88..df16c90 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/swtgtk_320.css
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/swtgtk_320.css
@@ -31,4 +31,9 @@ scrolledwindow undershoot.top, scrolledwindow undershoot.right,
entry {
min-height: 26px;
+}
+
+tab {
+ padding-left: 6px;
+ padding-right: 6px;
} \ No newline at end of file