PDA

View Full Version : Accordion layout question



daitam
19 Sep 2012, 3:15 AM
I'm developing application which has accordion layout panel on the left side. In the picture there is TAB 3 (panel), which contains Fieldset 1 and it contains Fieldset 2 (constant height) and GridPanel. I want this behavior for the components: Fieldset 1 is 100% height in expanded panel and GridPanel takes the rest of free space between the bottom of fieldset 2 and the bottom of fieldset 1. Height must change after window is resized.
Thanks in advance and sorry for english mistakes :) Waiting for your comments
:)

Picture: http://imageshack.us/a/img338/7096/accordionnames.png

sword-it
19 Sep 2012, 4:26 AM
Hi,

you can use layout:'border' inside the fieldset1 then put fieldset into north region,
and put grid into center region

daitam
20 Sep 2012, 3:15 AM
Hi,

you can use layout:'border' inside the fieldset1 then put fieldset into north region,
and put grid into center region

Thanks sword, you helped a lot. I've just figured out that I need two more components in Fieldset1: checkbox and status message (see picture). Now they are shown on top of each other and over the text 'Fieldset1'... Any thoughts? :)

What I want to do: http://imageshack.us/a/img401/1275/accordionnamesv2.png

What I get: http://imageshack.us/a/img803/6428/accordionnamesv2problem.png

daitam
11 Oct 2012, 8:29 PM
I've figured it out, thanks for help :)