PDA

View Full Version : autoheight accordion - how?



wzlwzl
14 Jun 2010, 7:31 PM
I have a window. In the window, I have a panel (layout = accordion). How can I make this automatically the height of the window?

Checking the "autoHeight" box shrinks the height so the accordion barely fits its contents -- not the height of the parent window.

evant
14 Jun 2010, 7:43 PM
You've got it backwards. autoHeight just sets height: 'auto' on the element. Instead, you want the window to use a fit layout.

wzlwzl
14 Jun 2010, 7:47 PM
with the window having fit... the accordion panel still does not automatically stretch to reach the bottom of the window

I've attached my project

evant
14 Jun 2010, 8:22 PM
Like this: