1. #1
    Sencha User
    Join Date
    Jul 2011
    Posts
    8
    Vote Rating
    0
    theserialcoder is on a distinguished road

      0  

    Default Unanswered: Window size to child components

    Unanswered: Window size to child components


    How can you get a Window to size to its child component(s) instead of having to specify a size manually. This seems like the desired behavior in 99% of use cases for Windows and I can't find a straightforward solution. I have come up with a plethora of hacky ones but there should be a cleaner one.

  2. #2
    Sencha User
    Join Date
    Nov 2008
    Location
    Vienna - Austria
    Posts
    867
    Answers
    9
    Vote Rating
    1
    micgala is on a distinguished road

      0  

    Default


    Hi. Well, you should rethink your approach.
    The best approach would be making the child components adapt to the window size, not the other way around.

    I do not see a straightforward way of doing what you want.

  3. #3
    Sencha User
    Join Date
    Jul 2011
    Posts
    8
    Vote Rating
    0
    theserialcoder is on a distinguished road

      0  

    Default


    Let me go inform my requirements person about this revelation . But in all seriousness, while I respect your input, that really isn't a constructive answer to the question.

Thread Participants: 1