1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    28
    Answers
    2
    Vote Rating
    0
    karpatyx@ya.ru is on a distinguished road

      0  

    Default Answered: Is Window's minWidth set by 'vbox' layout?

    Answered: Is Window's minWidth set by 'vbox' layout?


    Hi guys,

    One more question please:

    THere's a window with vbox layout. When I set its size to 120, it's created with much bigger size (about 200-250). I can set 120 only if I set minWidth: 120.

    That's not a problem for me, but I haven't found any references in docs.

    Does anybody know "quick answer"?

    Thank you.

  2. Take a look at the source:

    http://docs.sencha.com/ext-js/4-0/so...-window-Window

    The default minWidth for a window is 200. I think this would explain what you're seeing.

  3. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,489
    Answers
    526
    Vote Rating
    283
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    Take a look at the source:

    http://docs.sencha.com/ext-js/4-0/so...-window-Window

    The default minWidth for a window is 200. I think this would explain what you're seeing.

  4. #3
    Sencha User
    Join Date
    Nov 2011
    Posts
    28
    Answers
    2
    Vote Rating
    0
    karpatyx@ya.ru is on a distinguished road

      0  

    Default


    Quote Originally Posted by skirtle View Post
    Take a look at the source:

    http://docs.sencha.com/ext-js/4-0/so...-window-Window

    The default minWidth for a window is 200. I think this would explain what you're seeing.
    Cool, thanks. I've looked through layout managers but missed to check window itself...

Thread Participants: 1

Tags for this Thread