Layout affected by the sequence calling dialog.center() first then only dialog.show()
Can someone help to clarify or explain this scenario? I discovered that it is important to call dialog.show() first then only call dialog.center() else my formpanel layout inside a content panel will be incorrect even though I already specified the layout to be Orientation Horizontal.
I guess if we call center before the dialog not fully rendered causes such layout problem.
Which framework is this and which version?