How to cope with slow rendering of widgets in Ext GWT (GXT)?

I have a window with several widgets inside. When it is displayed, it shows in the upper left corner for a second and then centered.

Is there a chance of lazy rendering? I mean, the window is first centered, and then the child widgets are displayed. Or maybe I can hide the contents of the window behind the mask during rendering?

+3
source share
2 answers

DeferredCommand may help the situation a bit, expecting all current events to be processed - so when the window is displayed this time, the browser may be less loaded.

"" , , (, overflow:hidden; text-indent:-9000px; visibility:visible;), - .

+1

, GXT .

, ExtJS , GXT .

GWT, .

, , .

0

Source: https://habr.com/ru/post/1731927/


All Articles