GWT htmlDialogBox: How to set the size to wider width -
i want resize htmldialogbox wider width. have now. half of html cut off. want display entire html in htmldialogbox.
gwt version: 2.8.0-snapshot
verticalpanel = new verticalpanel(); verticalpanel.setspacing(0); setwidget(verticalpanel); verticalpanel.setsize("100%","100%"); scrollpanel = new scrollpanel(); verticalpanel.add(scrollpanel); htmldialogbox = new html(); verticalpanel.add(htmldialogbox); scrollpanel.setwidget(htmldialogbox); htmldialogbox.setsize("100%", "100%"); htmldialogbox.sethtml(html); setglassenabled(true); setanimationenabled(true); setpopupposition(clientutils.dialog_x_position,clientutils.dialog_y_position); show();
i find own answer.
change setanimationenabled(true); setanimationenabled(false);
Comments
Post a Comment