PDA

View Full Version : Scrolling Panel doesn't show children until a height is given.



rickyclegg
23 Mar 2011, 8:03 AM
I have a main application panel (mainApp) set to fullscreen. It has a child panel (sectionPanel) with a toolbar and a panel (contentPanel) inside to hold all content. sectionPanel has scrolling set to vertical. The sectionPanel has no height specified. When I run the application the contentPanel does not display. If I set sectionPanel scrolling to false. The contentPanel displays. If sectionPanel has scrolling vertical and I specify a height after render with sectionPanel.setHeight(); the content displays.

Any ideas why when sectionPanel has scrolling defined why the the contentPanel cannot be seen?

jay@moduscreate.com
24 Mar 2011, 4:53 AM
What layouts are you using?