GWT Client Code:
DialogBox dialog = new DialogBox(); dialog.setAnimationEnabled(true); SimplePanel panel = new SimplePanel(); panel.setPixelSize(800, 600); dialog.setWidget(panel); dialog.center();
with the above code, the dialog width is not set properly - the dialog is cropped by about 400 px.
Without turning on the animation, it works fine, as in the code snippet below:
DialogBox dialog = new DialogBox(); SimplePanel panel = new SimplePanel(); panel.setPixelSize(800, 600); dialog.setWidget(panel); dialog.center();
GWT ver 2.04
Firefox: 3.6.9
Chrome: 6.0.472.55 beta p>
Any ideas what could be the problem?
gwt
torzech
source share