Excluding constructor signature (that's wrong, it must have the same name as his class), it works.
Ale. -------------------------------------------------- From: "google400" <[email protected]> Sent: Sunday, August 23, 2009 4:47 PM To: "Google Web Toolkit" <[email protected]> Subject: VerticalSplitPanel doesn't show widgets > > This is some very simple code that I'm using to try showing a > VerticalSplitPanel, but the widgets I add don't show. The divider > thing of VerticalSplitPanels does show however the widgets I add > don't. > > Code: > > public class MyView extends Composite > { > private VerticalSplitPanel mainPanel=new VerticalSplitPanel(); > > public CountryFilterView() > { > > mainPanel.setSize("100%", "100%"); > mainPanel.setSplitPosition("50%"); > // Add some content > String randomText = "This is some text to show how the > contents on either " > + "side of the splitter flow. " > + "This is some text to show how the contents on either " > + "side of the splitter flow. " > + "This is some text to show how the contents on either " > + "side of the splitter flow. "; > mainPanel.setTopWidget(new HTML(randomText)); > mainPanel.setBottomWidget(new HTML(randomText)); > initWidget(mainPanel); > } > } > > Am I doing something wrong, or is VerticalPanel just very annoyingly > buggy? > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
