1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    19
    Vote Rating
    0
    kencl is on a distinguished road

      0  

    Default setting scrollable causes container to vanish

    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

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,185
    Vote Rating
    63
    aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice

      0  

    Default


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

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    19
    Vote Rating
    0
    kencl is on a distinguished road

      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 - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,185
    Vote Rating
    63
    aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice

      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
    Sencha Architect Development Team