DialogBox size

35 views
Skip to first unread message

Fran

unread,
Mar 10, 2010, 8:43:21 AM3/10/10
to Google Web Toolkit
Hi,

Why I cant extends the width of a DialogBox more than 350px ?

The code:

DialogBox dialogBox = new DialogBox();
dialogBox.setWidth("600px");

Is the same result that:

DialogBox dialogBox = new DialogBox();
dialogBox.setWidth("350px");


But not the same that:

DialogBox dialogBox = new DialogBox();
dialogBox.setWidth("200px");


Thanks for help

Paul Stockley

unread,
Mar 10, 2010, 10:21:25 AM3/10/10
to Google Web Toolkit
Set width and height don't work. I submitted a bug report that has
been accepted. The only reliable way to do it currently is to set the
width and height of the first container widget you add to the dialog.

Paul Stockley

unread,
Mar 10, 2010, 10:32:37 AM3/10/10
to Google Web Toolkit
Forgot to mention, make sure in your main application css file there
isn't an entry like

.gwt-DialogBox {
width: 350px;
}

If there is, remove it.

Reply all
Reply to author
Forward
0 new messages