Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Layout/Performance

    Are there any guidelines for achieving performence with regards to layout. I have a heavily nested application, with lots of HLayouts and VLayouts, and it runs extremely slow. I'm wondering if there are some tools in the api to help speed things up (late loading, hiding, etc.).

    Thanks,

    #2
    Take a look at this FAQ first. Once you've eliminated all of those other causes, as far as layouts specifically:

    1. be sure you aren't burning layouts for nothing - get rid of layouts that actually just have one member

    2. if something is fixed size, set a fixed size on it. If you don't set a fixed size the layout system has to assume the component might be variable size and may end up doing multiple passes

    3. don't set a 100% size unless it's not the default (eg, any VLayout will fill space horizontally)

    Comment

    Working...
    X