1. #1
    Sencha User
    Join Date
    Dec 2010
    Posts
    68
    Vote Rating
    -1
    jairok is an unknown quantity at this point

      0  

    Default Unanswered: Textarea won't fit all the space

    Unanswered: Textarea won't fit all the space


    Hi,

    I tried to make a form like the gmail 'new mail', with a textarea fitting all the phone screen.

    I used a 'vbox' layout and set the textarea to flex:1
    It works great for the textarea container, but the textarea itself remains to its normal size ?

    Any solution please ?

  2. #2
    Sencha User
    Join Date
    Nov 2011
    Location
    England
    Posts
    135
    Answers
    11
    Vote Rating
    7
    george.m is on a distinguished road

      0  

    Default


    maybe set minHeight to be 100%?

  3. #3
    Sencha User
    Join Date
    Dec 2010
    Posts
    68
    Vote Rating
    -1
    jairok is an unknown quantity at this point

      0  

    Default


    Thank but doesn't work.
    The problem is the container is fitting well, but the textarea input object doesn't

  4. #4
    Sencha User
    Join Date
    Nov 2011
    Location
    England
    Posts
    135
    Answers
    11
    Vote Rating
    7
    george.m is on a distinguished road

      0  

    Default


    try setting the maxRows then?

Thread Participants: 1