Hi, I'm having a problem with dialog boxes not drawing correctly on
Chrome. They draw correctly on both Hosted Mode and Firefox, but on
Chrome the right side of the dialog box doesn't appear (like if it had
been cut out). I'm using Windows, App Engine 1.2.6 and GWT 1.7.1.
The code below is the one that creates the dialog box.
private DialogBox createDialogBox() {
final DialogBox dialogBox = new DialogBox();
dialogBox.ensureDebugId("cwDialogBox");
dialogBox.setText(constants.addBook());
VerticalPanel dialogContents = new VerticalPanel();
dialogContents.setSpacing(10);
dialogBox.add(dialogContents);
// Create a tab panel
DecoratedTabPanel tabPanel = new DecoratedTabPanel();
tabPanel.setAnimationEnabled(true);
tabPanel.add(new VerticalPanel() ,constants.bookInfo());
tabPanel.add(new VerticalPanel() ,constants.selectViewers());
tabPanel.add(new VerticalPanel() ,constants.optionalInfo());
tabPanel.selectTab(0);
dialogContents.add(tabPanel);
// Add a close button at the bottom of the dialog
Button closeButton = new Button(constants.cancel(), new ClickHandler
() {
public void onClick(ClickEvent event) {
dialogBox.hide();
}
});
dialogContents.add(closeButton);
return dialogBox;
}
Thanks,
Dinis
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---