diff options
author | Alexander Kurtakov | 2014-02-14 09:28:59 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2014-02-14 09:28:59 +0000 |
commit | a8fa87377524fb6498853d8fdbe81ac7197543aa (patch) | |
tree | 9b1789ac311bdc148d0de0e1e06251ae441b5c85 /bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java | |
parent | d18da1a6a32433411174b2025f6381c1db547bb7 (diff) | |
download | eclipse.platform.swt-a8fa87377524fb6498853d8fdbe81ac7197543aa.tar.gz eclipse.platform.swt-a8fa87377524fb6498853d8fdbe81ac7197543aa.tar.xz eclipse.platform.swt-a8fa87377524fb6498853d8fdbe81ac7197543aa.zip |
Bug 428170 - TabFolder scroll arrows shown when not needed
Consider initial-gap when calculating size of TabFolder on GTK 3.2+.
Difference is easily noticable with ControlExample no longer displaying
scrolling arrows by default as the size is properly calculated.
Change-Id: If5ae8a4f5a6410eebee827a140a8d03fd060c6cf
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java index 6ee085952b..9e77c1b921 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java @@ -615,6 +615,7 @@ public class OS extends C { public static final byte[] inconsistent = ascii("inconsistent"); public static final byte[] indicator_size = ascii("indicator-size"); public static final byte[] indicator_spacing = ascii("indicator-spacing"); + public static final byte[] initial_gap = ascii("initial-gap"); public static final byte[] interior_focus = ascii("interior-focus"); public static final byte[] mode = ascii("mode"); public static final byte[] model = ascii("model"); |