Works fine when I tried it, but note that the units are pixels, so you will want to use larger numbers.
On Apr 15, 8:50 am, Vik <[email protected]> wrote: > Hie > > I am trying to create some gwt layout and it shows nothing. > > here is the code: > > public void onModuleLoad() { > SplitLayoutPanel container = new SplitLayoutPanel(); > container.addNorth(new HTML("north"), 2); > container.addSouth(new HTML("south"), 5); > container.addEast(new HTML("east"), 2); > > StackLayoutPanel menu = new StackLayoutPanel(Unit.EM); > menu.add(new HTML("this"), new HTML("[this]"), 4); > menu.add(new HTML("that"), new HTML("[that]"), 4); > menu.add(new HTML("the other"), new HTML("[the other]"), 4); > > container.addWest(menu, 5); > container.add(new HTML("center")); > RootLayoutPanel rp = RootLayoutPanel.get(); > rp.add(container); > > } > > any idea what i m missing? > > Thankx and Regards > > Vik > Founderwww.sakshum.comwww.sakshum.blogspot.com -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
