Hi, I've edited the Starter Project to popup a DialogBox when I click a Label. However, the DialogBox appears all garbled. A screenshot can be found here: http://files.ducbase.com/GWT.png .
This is the code I use: Label configLabel = new Label("Setup"); RootPanel.get("config").add(configLabel); configLabel.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) { DialogBox config = new DialogBox(false); config.setText("Title"); config.setAnimationEnabled(true); config.setPixelSize(400, 300); TabPanel tabPanel = new TabPanel(); tabPanel.add(new HTML("foo"), "Levels"); tabPanel.add(new HTML("bar"), "bar"); tabPanel.selectTab(0); config.setWidget(tabPanel); config.show(); } }); Any ideas? Thanks! Tom. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.