Two problems that generally cause this: 1) Make sure you're in standards mode. (<!DOCTYPE html> at the start of your HTML document) 2) TabLayoutPanel is designed to be used inside the other Layout panels introduced in GWT 2.0. In order to get your content to show, you'll have to make sure you're inside one of those panels. The alternative is to manually mess with the CSS and switch the position to relative in the tab content areas, but that's a more brittle solution.
I've ended up making my own TabPanel since I need a set of tabs that works inside a fluid layout on mobile phones. On Sep 23, 12:05 am, lalit <[email protected]> wrote: > I have a structure similar to following > <g:TabLayoutPanel ui:field="rightTabPanel" width="100%" height="100%" > barUnit="EM" barHeight="3"> > <g:tab> > <g:header>Graph</g:header> > <g:FlowPanel ui:field="graphContent"/> > </g:tab> > <g:tab> > <g:header>Data</g:header> > <g:FlowPanel ui:field="dataContent"/> > </g:tab> > </g:TabLayoutPanel> > > I have two tabs on of which shows the graph and another one shows > data. However the content inside a tab is not visible. If I put > <g:FlowPanel ui:field="graphContent"/> outside of tablayoutpanel I can > see the graph, but If I put as shown above the graph is not visible. > > Any clue would be helpful. > > thanks in advance. -- 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.
