So... I've got a TabLayoutPanel I'm trying to embed in a DialogBox, where the contents of the tabs are generated at runtime. I've seen the discussion about making sure DOCTYPE is right and that I'm pulling in CSS for the tabs. I've actually got another similar instance of TabLayoutPanel working fine as part of my main (LayoutPanel based) layout, but if I pop up a DialogBox with a TabLayoutPanel in it, I'm missing the actual tab content (the tabs themselves show up fine, styled just like my working instance.)
If I explicitly set the height of the TabLayoutPanel to something, I can see the content fine. My problem is all my tab content is dynamically generated, and ideally I'd like to see the TabLayoutPanel (and the containing DialogBox) resize itself. Lots of gnashing of teeth today over this. And so, it occurs to me that DialogBox isn't descended from a LayoutPanel and I'm wondering if TabLayoutPanel is really destined to work in a DialogBox at all when resizing might be concerned... TabPanel is deprecated, and there's no LayoutDialogBox or anything around so I'm wondering how best to proceed. Is there a clean recipe for adding a bunch of content to a TabLayoutPanel and then explicitly getting it to resize itself (and it's non-Layout derived enclosures?). I tried adding all my panel contents and then just calling TabLayoutPanel.OnResize(), but didn't get anything different. Or is my best bet going back to TabPanel and wait for the day that blocks a GWT upgrade? Thoughts or insights appreciated... -- 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.
