Collapsing Horizontallayoutcontainer on collapse of fieldset
I have a vertical layout container inside which I have hozirontallayoutcontainer which have two fieldsets. My need is when I collapse both fieldsets, the horizontallayoutcontainer should also collapse so that components below them should move upwards. Since Horizontal layout container needs a height which remains fixed, so its doesn't collpase on collapse of fieldsets.
Any idea how to achieve this?
A few things:
- Have you tried calling forceLayout()?
- If so and that doesn't work (which it probably won't if the container has a fixed height) is there a reason you are using an HLC and not, say, a CSSFloatLayoutContainer?
- I assume there are other items in the VLC that are siblings to the HLC?
One more question to add to icfantv's:
* What layout data are you assigning for the FieldSet in the VLC?