PDA

View Full Version : What is causing this 18px margin on orientation change?



jaypompano
15 Apr 2011, 12:48 PM
I have a nested list populated in a tabPanel and, when I first populate the nestedList, it's snapped all nice and tight up against the tabPanel. But when I start choosing leafs, or when I tilt the iPad, it re-orients, and puts an 18px padding around the nestedList.

Why is that so? Is there some property I need to set to stop that from happening?

jaypompano
28 Apr 2011, 5:58 AM
[SOLVED]

It appears that there were one too many layers of unnecessary panels which was causing the side-effect. After removing them, everything snaps up tight as expected...