Well, in that case it seems the Layout implementation of GWT overrides when I set position via [Widget].getElement().getStyle().setPosition(Position.RELATIVE) ; it sets the position to 'absolute'. The same goes for overflow property, which is set to 'hidden' whatever I manually set it to in my code.
I could have set some !important CSS rules (overrigin element style) to select some of the divs that need to be positionned 'relative', but given the markup, I would have to use the :nth-child(..) pseudo-class (if you look at the output markup, there are absolute positionned elements added by GWT with height set to ~500px in my case, so I don't want those absolute positionned element to be 'relative', thus the need to select specific children of the TabLayoutPanel). And I can't use that pseudo-class because it is not supported in IE6, and I need to support that browser. In any case, I found it easier to build my own control instead of tweaking with TabLayoutPanel to expand to fit tab content! Regards, MChan -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/qhMXCyh57_YJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.