1. #1
    Sencha User
    Join Date
    May 2013
    Posts
    7
    Vote Rating
    0
    kushal.bagaria is on a distinguished road

      0  

    Default Collapsing Horizontallayoutcontainer on collapse of fieldset

    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?

  2. #2
    Ext GWT Premium Member icfantv's Avatar
    Join Date
    Sep 2011
    Location
    Superior, CO
    Posts
    411
    Vote Rating
    21
    icfantv will become famous soon enough icfantv will become famous soon enough

      0  

    Default


    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?

  3. #3
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,717
    Vote Rating
    88
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    One more question to add to icfantv's:
    * What layout data are you assigning for the FieldSet in the VLC?

Thread Participants: 2