PDA

View Full Version : accordions only show after a resize



toxkillfraex
4 Apr 2012, 3:30 AM
I have a couple of panels that are dynamically loaded into another panel with accordion layout that's nested in yet another panel with layout fit.

the accordion and fit panel aren't dynamic.

the problem is once everything is loaded the unopened panels are hidden from view until I resize the browser window.
I tried forcing the panel headers to show up with doLayout and doComponentLayout on both the accordion Panel and the fit panel but it doesn't seem to be working.

is there another method that mix fix these panels to show up properly?
Or a way to imitate the effect the resize is having?

toxkillfraex
4 Apr 2012, 4:23 AM
I fixed it with a delayed task setting the size to the exact same size of the fit panel
this fakes a resize effect xP