Results 1 to 2 of 2

Thread: Can screen drawing be delayed until layout is complete? (Ext JS 3.x)

  1. #1
    Sencha User
    Join Date
    Oct 2011
    Location
    Stamford, CT
    Posts
    1

    Default Can screen drawing be delayed until layout is complete? (Ext JS 3.x)

    I'm trying to solve an aesthetic problem with Ext JS 3.x, where I'm using a Viewport with a collapsible 'east' region containing many panels of tools and icons in an accordion layout.

    Problem is, the icons for the tools are drawing in the center region at the left side of the screen before the layout is complete and then they jump into the correct position. This causes a messy flicker-like effect.

    Is there a way to buffer drawing of objects in the Viewport until positioning and layout are complete, maybe some events/methods/properties I can leverage?

    I've noticed there is a waitMsg property on form containers, but I'm not using a form. Can the "Loading.." messages be displayed while a Viewport loads?

    Thanks,


    Terry
    Last edited by trwight; 16 Nov 2011 at 12:45 PM. Reason: additional information

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

    Default

    You can render them when they are hidden and accomplish this... when all is done then show the viewport.
    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
  •