I have created a DecoratedTabPanel with three tabs. Tab 1 and Tab 3
have some basic widgets. In the second tab I have added a
HorizontalSpliPanel to the DecoratedTabPanel. On load I want to
display the first tab by default.
I have used the following code to add the HorizontalSpliPanel :
horizontalSplitPanel.setSize("500px", "350px");
horizontalSplitPanel.setSplitPosition("30%");
horizontalSplitPanel.setRightWidget(new HTML("some text goes here");
horizontalSplitPanel.setLeftWidget(new HTML("some text goes here");
....
//Add widget for 1st Tab
.....
//Add widget for 2nd Tab
decoratedTabPanel.add(horizontalSplitPanel, "Some Label");
//Add widget for 3rd Tab
.....
However, when I click the second tab to view the Horizontal Split
Panel, the right hand side of the Horizontal Split Panel covers the
entire area and the left hand side widget is not visible. I have to
manually drag the splitter towards the right to view the contents of
the left widget. What I want is to view the left widget and the right
widget of the Horizontal Split Panel as per the size I have set.
Please help.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---