We automatically adjust the size of the dialogs on rotation to fit the new
proportions otherwise they might look distorted. You can disable it for
this dialog by overriding this Dialog method as a blank method:
@Override
protected void autoAdjust(int w, int h) {
}
Alternatively you can disable this globally (and re-enable later if
desired) using:
Dialog.setAutoAdjustDialogSize(false).
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/de643244-1a16-4055-85c1-3e33e9f366e1%40googlegroups.com.