Have Dialog Resize by content
I create a dialog and display it. I close the dialog and before opening again the content changes (so it needs a larger window to display it). However, I can not get the dialog to resize, I must explicitly size it.
I try doing dialog.forceLayout(), dialog.setPixelSize(-1,-1)/dialog.forceLayout(), etc. Nothing seems to work for me.
The dialog sizing is as desired the first time, but not the following times.
What am I missing with the GXT Dialog widget?