diff options
author | Bogdan Gheorghe <gheorghe> | 2007-10-26 21:43:04 +0000 |
---|---|---|
committer | Bogdan Gheorghe <gheorghe> | 2007-10-26 21:43:04 +0000 |
commit | 57b9842acd1291132b7d143eae1470dd1e6c9ef8 (patch) | |
tree | 0a1e1619faf31d890d013b9c66906ce931f3e1a2 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java | |
parent | 11ac2f3e25c3ebc877d58d184c950549cb91c952 (diff) | |
download | eclipse.platform.swt-57b9842acd1291132b7d143eae1470dd1e6c9ef8.tar.gz eclipse.platform.swt-57b9842acd1291132b7d143eae1470dd1e6c9ef8.tar.xz eclipse.platform.swt-57b9842acd1291132b7d143eae1470dd1e6c9ef8.zip |
206786 GTK-BIDI: RTL support in ScrollBar
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java index 0e25896873..a4b5f17c7a 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java @@ -598,8 +598,10 @@ public void setMinimum (int value) { void setOrientation () { super.setOrientation (); if ((parent.style & SWT.MIRRORED) != 0) { - if ((style & SWT.HORIZONTAL) != 0) { - OS.gtk_range_set_inverted (handle, true); + if ((parent.state & CANVAS) != 0) { + if ((style & SWT.HORIZONTAL) != 0) { + OS.gtk_range_set_inverted (handle, true); + } } } } |