PDA

View Full Version : Orientation change doesn't populate down



Rohall
21 Jul 2010, 10:00 AM
Hey Everyone,
I'm having an odd issue and I hope someone might be able to give me a hand. If I rotate the phone to landscape mode the panel I'm currently on adjusts and looks as I would expect it to. However, if I switch to another panel (via setActiveItem) that layout looks like a crammed version of the portrait layout. If I go back to the first panel it will now be rendering incorrectly as well.

The only way to have any panel render correctly after a landscape orientation change appears to be by rotating the phone while you are on the panel. All other panels become scrambled.

I'm using a card layout. Has anyone else experienced something similar? Is this a bug or do I need to specify that orientation changes should be sent to other panels?

Thanks again!

evant
21 Jul 2010, 6:13 PM
Difficult to say without seeing code, post it!

Rohall
22 Jul 2010, 7:27 AM
Haha sorry!
I think in the process of creating a basic example I've narrowed down the issue considerably. I'm going to try and debug it myself a bit more, if I figure it out I'll post my results here. Otherwise, I'll probably end up bumping this thread with some code :).