Hi all,

in my GWT application I have a TabPanel attached to the RootPanel;
in the first Tab I would like to insert a VerticalSplitPanel but it
does not work;
VerticalSplitPanel only works if attached to RootPanel.

Where am I wrong?

Here below code snippet.

TabPanel tabPanel = new TabPanel();
tabPanel.setSize("100%", "10%");
tabPanel.setAnimationEnabled(true);
tabPanel.setTitle("Gestione Palestra");

tabPanel.add(new Iscritti(), "Gestione Iscritti");
tabPanel.add(new Calendar(), "Gestione Presenze");
tabPanel.add(new Pay(), "Gestione Pagamenti");

rootPanel.add(tabPanel);

Then, here below code for the first tab:

VerticalSplitPanel vsplit = new VerticalSplitPanel();

vsplit.setTopWidget(new Label("Hello 1")));
vsplit.setBottomWidget(new Label("Hello 2")));

initWidget(vsplit);

Thanks
Marco

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to