PDA

View Full Version : Trouble understaning layouts



qbert65536
19 Jul 2009, 12:31 PM
Following the explorer CenterLayout example on the demo, I am only able to get the ContentPanel centered horizontally , also on resize fails to resize the item.

What else am I missing, for my onModuleLoad() I have

RootPanel.get().add(new CenterLayout() );

And cut and paste the CenterLayout from the explorer samples.


Thanks!
Charlie