PDA

View Full Version : Panel inside a scorlling window



blacksword888
28 Jun 2011, 1:31 PM
Hi,
i have a window with fixed width and height , and a panel inside it , the panel contains a fieldset collapsed .
can somebody write a simple example that makes the window scroll when the fieldset is expanded( we suppose that after expanding the fieldset, the panel height is greater than the window's) ...i tried very hard , but no results

thanks !

skirtle
30 Jun 2011, 8:19 AM
we suppose that after expanding the fieldset, the panel height is greater than the window's

Not necessarily, it all depends on what layouts you have specified on the window and panel. With the default layout you are correct, the panel will be to tall. Just put autoScroll: true on the window.

If you have a fit layout on the window then the panel will be the correct, it'll be the fieldset that's too tall. If that's the case just put autoScroll: true on the panel.