summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Heidrich <fheidric>2010-02-10 20:24:49 +0000
committerFelipe Heidrich <fheidric>2010-02-10 20:24:49 +0000
commit65653ad19dc92fcc9097f02b3429470bcaf1f58f (patch)
tree0d77af56b7bc2fd7e8c24d1eecd4c16ba55bc25e
parent58c171b795cf55438c294ae0a5288b30d45fc079 (diff)
downloadeclipse.platform.swt-65653ad19dc92fcc9097f02b3429470bcaf1f58f.tar.gz
eclipse.platform.swt-65653ad19dc92fcc9097f02b3429470bcaf1f58f.tar.xz
eclipse.platform.swt-65653ad19dc92fcc9097f02b3429470bcaf1f58f.zip
*** empty log message ***
-rw-r--r--examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet336.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet336.java b/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet336.java
index 092316917f..01aff65998 100644
--- a/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet336.java
+++ b/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet336.java
@@ -78,6 +78,7 @@ public static void main(String[] args) {
Label label = new Label(group, SWT.NONE);
label.setText("Progress");
final Scale scale = new Scale (group, SWT.NONE);
+ scale.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
scale.addListener(SWT.Selection, new Listener() {
public void handleEvent(Event event) {
TaskBarItem item = getTaskBarItem();
@@ -152,7 +153,6 @@ public static void main(String[] args) {
button.setText(images[i]);
button.addListener(SWT.Selection, listener3);
}
- System.out.println(System.getProperties());
shell.pack();
shell.open();
while (!shell.isDisposed()) {