Results 1 to 4 of 4

Thread: setting scrollable causes container to vanish

  1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    19
    Vote Rating
    0
      0  

    Default setting scrollable causes container to vanish

    Weird problem here. When I set the scrollable property on a container, it's contents vanish! Please see the screencaps to see what I mean. The only purpose for that container is to make that long list of checkboxes scrollable.

    Any ideas what's wrong here?
    Attached Images Attached Images

  2. #2
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,487
    Vote Rating
    146
      0  

    Default

    If you want to make it scrollable, you'll need to give it a height.
    Aaron Conran
    @aconran

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    19
    Vote Rating
    0
      0  

    Default

    I guess it's hard to see because this forum reduces the image size, but the height was already set at 100%

  4. #4
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,487
    Vote Rating
    146
      0  

    Default

    Give it a fixed number. If you are looking for it to stretch to fit the rest of the available space, use a vbox layout and set an appropriate flex value.
    Aaron Conran
    @aconran

Posting Permissions

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