I've tried adding height="100%" and width="100%" to the <g:TabLayoutPanel>, that seems to be working. >From the GWT Javadoc itself, HeaderPanel should resize its content. My quick guess was the content widget itself doesn't mention how much "%" in this case it should occupy.
Had a quick test, it seem to be working for me. On Wednesday, January 4, 2012 at 10:55:30 AM UTC+8, James Scott wrote: > > I'm updating a module originally done in GWT 1.7 to GWT 2.4, and I'm > having a problem with a TabLayoutPanel inside a HeaderPanel. When I > add the TabLayoutPanel to the content area of the HeaderPanel, the tab > content does not appear. Inspecting the HTML shows that the tab > content divs have 0 height. > > I think this is a bug, and that's a serious bummer. HeaderPanel sounds > like exactly what we need to replace the Rube Goldberg resize listener > stuff we had to do in a composite using the old widgets. > DockLayoutPanel appears to work OK with TabPanel, but isn't suitable > for this application because we have some resizable elements in the > header area. HeaderPanel handles those just fine...but the main > content of the page doesn't display due to this apparent problem with > TabLayoutPanel. > > Am I missing something? > > JLS > > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
