TabPanel is not deprecated. However, if you are using tabs inside a LayoutPanel type of layout, vs the traditional panels, and/or using Standards mode, you need to use TabLayoutPanel instead. Questioner seems to be using the original GWT panels for layout, so can stick with TabPanel. Useful as LayoutPanel is for certain types of layout, having 2 separate layout methodologies creates plenty of confusion, esp for poor new users...
http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html#LayoutPanels On Apr 25, 9:00 am, Mike <[email protected]> wrote: > The problem with that suggestion is -- TabPanel has already been > deprecated. > > The new widget that GWT provides and is suggested for that situation > is - TabLayoutPanel. > > The suggestion to read the code for TabPanel is a great idea, b/c > IMHO: TabPanel is a much better widget than TabLayoutPanel. > Some additional requirements of the TabLayoutPanel -- must specify > barHeight, barUnits, and Height. > TabPanel wil auto-magically size to fit its contents. > > Also -- the TabPanel docs claim that it only works in quirks mode, but > my experience is the opposite -- it will only work in Standards mode. -- 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.
