diff options
author | Artur Signell <artur.signell@itmill.com> | 2008-11-28 08:04:33 +0000 |
---|---|---|
committer | Artur Signell <artur.signell@itmill.com> | 2008-11-28 08:04:33 +0000 |
commit | 91aee61192e6e28375efe2db4ae895347386a5c5 (patch) | |
tree | 6b12384767b3cc9c484d4a29921dcf5f265b6ff3 /src/com/itmill/toolkit/demo/featurebrowser/WindowingExample.java | |
parent | bcbffba8bdff9e8e7bd3c8e0c1d935a052c813fb (diff) | |
download | vaadin-framework-91aee61192e6e28375efe2db4ae895347386a5c5.tar.gz vaadin-framework-91aee61192e6e28375efe2db4ae895347386a5c5.zip |
Fix for #2239 Invalid FeatureBrowser layout
svn changeset:6029/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/demo/featurebrowser/WindowingExample.java')
-rw-r--r-- | src/com/itmill/toolkit/demo/featurebrowser/WindowingExample.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/demo/featurebrowser/WindowingExample.java b/src/com/itmill/toolkit/demo/featurebrowser/WindowingExample.java index 3affe5de07..99be884f4f 100644 --- a/src/com/itmill/toolkit/demo/featurebrowser/WindowingExample.java +++ b/src/com/itmill/toolkit/demo/featurebrowser/WindowingExample.java @@ -50,6 +50,7 @@ public class WindowingExample extends CustomComponent { new Button.ClickListener() {
public void buttonClick(ClickEvent event) {
final Window w = new Window("Subwindow");
+ w.setWidth("50%");
final Label l = new Label(txt);
l.setContentMode(Label.CONTENT_XHTML);
w.addComponent(l);
@@ -61,6 +62,7 @@ public class WindowingExample extends CustomComponent { b = new Button("Create a new modal window", new Button.ClickListener() {
public void buttonClick(ClickEvent event) {
final Window w = new Window("Modal window");
+ w.setWidth("50%");
w.setModal(true);
final Label l = new Label(txt);
l.setContentMode(Label.CONTENT_XHTML);
|