Results 1 to 3 of 3

Thread: Container.doLayout() question

  1. #1
    Sencha Premium Member
    Join Date
    Jun 2011
    Location
    Hartford, CT
    Posts
    21

    Question Container.doLayout() question

    I have lots of nested containers. One of the inner container now has more components in it and needs to be resized.

    Do I call doLayout() on the inner most container with the added components and the message bubbles up? Or, do I call doLayout() on the outer most container and it calls doLayout() on it's children??

    Is there any documentation which explains how this works?

    All help is appreciated...
    F

  2. #2
    Sencha User
    Join Date
    Dec 2013
    Posts
    6

    Default

    I am also interested in doing something similar.

  3. #3
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379
    Answers
    3997

    Default

    You shouldn't need to execute doLayout. If the parent tree has layouts and no overnesting then the layout runs should bubble up.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •