I realized I can't set the tabs to the bottom anymore using setTabPosition becuase it seems to be gone.
Is there a new method to do that?
I realized I can't set the tabs to the bottom anymore using setTabPosition becuase it seems to be gone.
Is there a new method to do that?
This is still possible. Thanks to your new appearance stuff, you can simple change the appearance:
This should be what you are looking for.Code:new TabPanel(GWT.<TabPanelAppearance> create(BlueTabPanelBottomAppearance.class));
This is still possible. Thanks to your new appearance stuff, you can simple change the appearance:
This should be what you are looking for.Code:new TabPanel(GWT.<TabPanelAppearance> create(BlueTabPanelBottomAppearance.class));
Thanks! This is exactly what I am looking for.
As a follow on, how do you get your tab panel to add scroll bars?
You mean like in this example http://www.sencha.com/examples/#Exam...e:advancedtabs?
This can be enabled withCode:tabPanel.setTabScroll(true);
Thanks for the quick response.
No sorry, what I mean is scrolling for the contents of the tabPanel.
In GXT 2.2.5, there was scrolling on the TabItem, in GXT 3.0 there is no more TabItem and my content for a TabPanel is larger than the display area. I have been unable to locate how to enable scrolling for the tabPanel.
This depends on what you are adding the the TabPanel. What Widget are you putting there in?
Say I am adding a HtmlLayoutContainer, how do I get scrollbars in the tabPanel?
Ex:
TabPanel tabs = new TabPanel();
tabs.setAnimScroll(true);
tabs.setTabScroll(true);
HtmlLayoutContainer hlc = new HtmlLayoutContainer(getProviderMarkup());
tabs.add(hlc, "More Details");
Try to set it directly on the element:
Code:htmlLayoutContainer.getElement().getStyle().setOverflow(Overflow.AUTO);