First, the only reliable way to set the size of the dialog is to set
the width and height of the first container widget you add to the
dialog. Don't try setting width and height on the dialog box, it
doesn't work and there is a bug logged against this.
Secondly, make sure you don't have a style defined such as
.gwt-DialogBox {
width: 350px;
}
In your main .css file. If you do, remove it. The starter GWT
application usually defines this.
If you do these two things it should work OK. You only need to call
center(), not center then show().
--
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.