Slate + style = performance drop ?

Hi,

The interface is now almost finished and i can get refresh times of about 10s (yes, seconds, not milliseconds). Currently unusable.

It can display tens (maybe around a hundred) elements, but it is still nothing compared to what the editor can do, and the editor runs very smooth.

So it is obvious that i am doing things entirely wrong, probably from the start.

I am using a lot of nesting (elements in elements in elements…, like textblock inside horizontalbox inside verticalbox inside scrollbox inside compoundwidget inside verticalbox inside horizontalbox inside overlay…).

Maybe that’s not how it should be done ? Then how should it ?

It would be really nice to have a good practice sheet about slate and styles.

Thanks

Cedric