Results 1 to 3 of 3

Thread: Window recalculation layout after resize animation

  1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    4

    Default Answered: Window recalculation layout after resize animation

    Hi, I have a window on my screen. if you get window.getSizeModel(), window has "shrinkwrap" model by default.
    I change my window size by animation. after animate the window sizemodel changed to "configured".
    I want to change the window sizemodel to "shrinkwrap" after animation, for auto height my window.
    I don't know how can I recalculate my window layout.
    doLayout or updatelayout didn't work.

  2. You can try window.setSize(null, null). But I believe it will cancel effect of resize with animation.

  3. #2
    Sencha User
    Join Date
    Sep 2011
    Posts
    574
    Answers
    59

    Default

    You can try window.setSize(null, null). But I believe it will cancel effect of resize with animation.

  4. #3
    Sencha User
    Join Date
    Aug 2011
    Posts
    4

    Default

    It works well. thank you!

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
  •