Results 1 to 3 of 3

Thread: height of widgets in an hbox

  1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    31
    Answers
    2
    Vote Rating
    1
      0  

    Default Answered: height of widgets in an hbox

    I want the widgets that I add to a HBoxLayoutContainer to take all of the height available. In other container's layoutData, I would set height="1" to accomplish this. How can I do it in an hbox? I need to use an hbox, because it is the only container that I have found which can do a pack END

  2. Wrapping in a VerticalLayoutContentLayout didn't help, but setting the HBoxLayoutContainer's hBoxLayoutAlign to STRETCH did the trick

  3. #2
    Ext GWT Premium Member icfantv's Avatar
    Join Date
    Sep 2011
    Location
    Superior, CO
    Posts
    413
    Answers
    20
    Vote Rating
    21
      0  

    Default

    What happens when you put the HBLC it in a VerticalLayoutContainer with VerticalLayoutData of -1.0, 1.0 (actual width, 100% height?

  4. #3
    Sencha User
    Join Date
    Sep 2012
    Posts
    31
    Answers
    2
    Vote Rating
    1
      0  

    Default

    Wrapping in a VerticalLayoutContentLayout didn't help, but setting the HBoxLayoutContainer's hBoxLayoutAlign to STRETCH did the trick

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •