1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    58
    Vote Rating
    -3
    Shri_SenchaDev can only hope to improve

      0  

    Default Unanswered: Auto height to the List as per screen size.

    Unanswered: Auto height to the List as per screen size.


    I am using a sencha touch to develop the mobile application. In that application i am taking one form and on that form there is one List. I want to set the size of the list to the auto. I mean if the mobile screen size is changed then the list automatically want to fit in the screen.

    I saw that if our list height is the 480 and the mobile screen height is less than the this size then we r possible to view the total list. It can scroll to the end.

    Any one have solution for it?

  2. #2
    Touch Premium Member suzuki1100nz's Avatar
    Join Date
    Apr 2011
    Location
    New Zealand
    Posts
    463
    Vote Rating
    68
    Answers
    21
    suzuki1100nz is just really nice suzuki1100nz is just really nice suzuki1100nz is just really nice suzuki1100nz is just really nice

      1  

    Default


    Hi
    Have a look at the layouts guide - http://docs.sencha.com/touch/2-0/#!/guide/layouts
    Sounds like you need an hbox layout with an align stretch

Thread Participants: 1