Hi,

I'm in the middle of moving from QuirksMode to Standards mode. And I am 
having an issue to emulate the old TabPanel with TabLayoutPanel.

What I need is a TabLayoutPanel that resizes depending on the tab contents. 
The original TabPanel had that behaviour, 
but the TabLayoutPanel needs a fixed size.

I found this thread in 
stackoverflow: 
http://stackoverflow.com/questions/5170324/tablayoutpanel-dynamic-resizing

But I don't really like the proposed solution(s).

1) DecoratedTabPanel or TabPanel are not supposed to be used in standards 
mode (javadoc of TabPanel says so).
2) hacking the TabLayoutPanel element styles is a bit messy since that is 
playing with the internals of the Widget.

Any idea on how to implement this behaviour in a post QuirksMode 
environment, without risk of breaking when 2.6 or 3.0 
comes out ? I could create my own tabpanel implementation, but this seems 
such a basic requirement. With old GWT quirksmode I 
actually had to fight to get the opposite effect with the tabpanel.

David

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to