Threaded View
-
18 Nov 2011 7:19 AM #1
[FNR] TabPanel and VBoxLayoutContainer
[FNR] TabPanel and VBoxLayoutContainer
It seems, like it's not possible to use a VBoxLayoutContainer within a TabPanel:
And that's, how it looks like:Code:public void onModuleLoad() { TabPanel tab = new TabPanel(); //ContentPanel f = new ContentPanel(); // --> this one works great VBoxLayoutContainer f = new VBoxLayoutContainer(); f.add(new Label("Q")); tab.add(f, "bug"); tab.add(new TextButton("testButton"), "showTestButton"); RootLayoutPanel.get().add(tab); }
bug-tabpanel.jpg
The Label (or any other Widget) is rendered over the whole TabPanel. A ContentPanel doesn't make such problems, but since I am using VBoxLayoutContainer most of the time (automatic strech and flex on last item is just great), I hope this one will get fixed.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote