Hi, It doesn't work. It's worse in the non-IE browsers, you can't even manually drag the split.
A lot of the layout kind of widgets with 'moving parts' (Tab, Split, Disclosure, StackPanel and the like) simply don't work if nested inside another one of these kinds of panels. Google don't seem to think this is too much of a problem. I first tried to get a response from someone back in August last year with v1.5 but no-one took any notice - see http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/7ca416b698acf0c8/31b434ab6d16cb39 I got no answer, and reverted my site back to 1.4. I tested it when 1.6 came out so I wouldn't waste my time again. It still hasn't been fixed. It now has an issue number since I have actually managed to get a reply from a GWT team member - see http://code.google.com/p/google-web-toolkit/issues/detail?id=3433 If you look at it, you will see that only one person has starred it (me) so the chances of anything happening are slim. For example, issue #25 (Sept 2006, 16 stars) has only just made it to 'Fixed, not released'. Sumit Chandel has said this is not a show-stopper - which I take it means it will not be fixed in this release, either. The bottom line is that you are f****d - you can't nest dynamic layout panels - your only choices are to build them properly yourself or keep your site so simple that you don't need to nest them. Ian http://examples.roughian.com 2009/4/1 Neo <[email protected]> > > 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 -~----------~----~----~----~------~----~------~--~---
