Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarolyn MacLeod2004-06-16 16:46:09 +0000
committerCarolyn MacLeod2004-06-16 16:46:09 +0000
commit9166d1c2acea3444df5c3bcf863cefe3b0056e1b (patch)
tree75328219754177e1151703cafa2c735a8e65a682 /examples
parentea1337af75c4d9d89e82cacd6a9a6765bfa72fd9 (diff)
downloadeclipse.platform.swt-9166d1c2acea3444df5c3bcf863cefe3b0056e1b.tar.gz
eclipse.platform.swt-9166d1c2acea3444df5c3bcf863cefe3b0056e1b.tar.xz
eclipse.platform.swt-9166d1c2acea3444df5c3bcf863cefe3b0056e1b.zip
*** empty log message ***
Diffstat (limited to 'examples')
-rw-r--r--examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/CLabelTab.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/CLabelTab.java b/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/CLabelTab.java
index 7eda616d34..938c35e6e3 100644
--- a/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/CLabelTab.java
+++ b/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/CLabelTab.java
@@ -57,6 +57,9 @@ class CLabelTab extends AlignableTab {
if (shadowInButton.getSelection ()) style |= SWT.SHADOW_IN;
if (shadowNoneButton.getSelection ()) style |= SWT.SHADOW_NONE;
if (shadowOutButton.getSelection ()) style |= SWT.SHADOW_OUT;
+ if (leftButton.getSelection ()) style |= SWT.LEFT;
+ if (centerButton.getSelection ()) style |= SWT.CENTER;
+ if (rightButton.getSelection ()) style |= SWT.RIGHT;
/* Create the example widgets */
label1 = new CLabel (textLabelGroup, style);

Back to the top