Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Gayed2007-08-24 17:56:04 +0000
committerGrant Gayed2007-08-24 17:56:04 +0000
commit896883de807d4eb64d2f5290888639fc0d1fdd35 (patch)
treedd54cae0c30029b6f7f2294d4d7ecd4096206c76
parent2714d1aedfa884938b6f4895d2c057e3d1f79ae1 (diff)
downloadeclipse.platform.swt-896883de807d4eb64d2f5290888639fc0d1fdd35.tar.gz
eclipse.platform.swt-896883de807d4eb64d2f5290888639fc0d1fdd35.tar.xz
eclipse.platform.swt-896883de807d4eb64d2f5290888639fc0d1fdd35.zip
*** empty log message ***
-rw-r--r--examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet277.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet277.java b/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet277.java
index aa1a17c428..fedc256953 100644
--- a/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet277.java
+++ b/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet277.java
@@ -126,7 +126,7 @@ public class Snippet277 {
table.getColumn (0).setWidth (editor.minimumWidth);
}
table.getColumn (1).pack ();
- table.getShell ().pack ();
+ table.getShell ().layout ();
}
public void onStatusChange (nsIWebProgress webProgress, nsIRequest request, long status, String message) {}
public void onSecurityChange (nsIWebProgress webProgress, nsIRequest request, long state) {}
@@ -145,7 +145,7 @@ public class Snippet277 {
((GridData)table.getLayoutData ()).exclude = true; /* hide the table */
}
table.getColumn (1).pack ();
- table.getShell ().pack ();
+ table.getShell ().layout ();
}
};
}

Back to the top