PDA

View Full Version : How do I resize panels when orientation changes?



jgarifuna
7 Jul 2011, 2:02 AM
Currently when I change the orientation of my device (iPhone or iPad), the panel does not completely resize to the new device orientation.

How would I go about resizing the panel when the device orientation changes?

jgarifuna
7 Jul 2011, 9:43 AM
any ideas on this?

dholth
7 Jul 2011, 12:38 PM
You can at least add an orientationChange listener to the root (topmost) panel. It is called every time the screen changes size with arguments (event, orientation, width, height)