PDA

View Full Version : Resize window before Grid is displayed



jpnet
4 Sep 2008, 10:35 AM
Does anyone have any idea why when I add a Grid to a ContentPanel that has a FitLayout, I must resize the GWT Hosted mode window before the Grid is actually displayed. Am I missing a method? I know ExtJS has a doLayout() method and that always seemed to work when similar Grid layout problems happened. Does GXT have a doLayout that I am missing?

Any thoughts? Oh ya, I'm using the latest Alpha release... 1.1 Alpha 4.

Thanks,

JP

gslender
4 Sep 2008, 1:09 PM
contentpanel has layout()

jpnet
4 Sep 2008, 1:33 PM
That seemed to help a lot. It doesn't resize itself perfectly, but good enough so that the user won't question what the heck is going on.

Thanks for taking the time to respond.

-JP