gslender
10 Sep 2008, 4:16 AM
setMaxWidth/setMinWidth in MessageBox all do nothing (are not used) - work around is to set width of dialog and centre again... ie
MessageBox alert = MessageBox.alert("Some Long Alert", "Another really long line of text that you don't want to wrap to the next line!", null);
alert.getDialog().setWidth(450);
alert.getDialog().center();
would be nice to have this fixed or removed to avoid future confusion ??
MessageBox alert = MessageBox.alert("Some Long Alert", "Another really long line of text that you don't want to wrap to the next line!", null);
alert.getDialog().setWidth(450);
alert.getDialog().center();
would be nice to have this fixed or removed to avoid future confusion ??