Argh, it appears that you're right about that. We need to add Style.setFloat() to paper over that irritating difference. I've added issue 4447 to track this.
Thanks, joel. On Tue, Jan 5, 2010 at 11:57 AM, Alejandro D. Garin <[email protected]>wrote: > Joel, I think that the problem could be setting 'cssFloat' property on IE > using javascript. > I made a little test changing this line on TabLayoutPanel.java:111 > > getElement().getStyle().setProperty("cssFloat", "left"); > to > getElement().getStyle().setProperty("styleFloat", "left"); > > Obviously this works on IE but not on the rest. > > > On Mon, Jan 4, 2010 at 3:48 PM, Joel Webber <[email protected]> wrote: > >> Thanks, Alejandro. I'll reproduce this locally and enter an issue for it. >> It sounds like the issue might have something to do with having a >> block-level element *inside* the tabs two existing divs. float:left on just >> the outer-most element is supposed to work here, but perhaps that's not >> enough on IE. >> >> On Mon, Jan 4, 2010 at 12:30 PM, Alejandro D. Garin <[email protected]>wrote: >> >>> On Mon, Jan 4, 2010 at 2:01 PM, Joel Webber <[email protected]> wrote: >>> >>>> Which element did you have to add float:left to? It's set manually in >>>> code to the outermost tab element, which is all that *should* be necessary. >>>> >>>> >>>> >>> Hi, >>> I ran into the same issue with IE7/8 using the css example you suggested >>> here: >>> >>> >>> http://groups.google.com/group/google-web-toolkit-contributors/browse_thread/thread/e9d6b9d7ad02b66f >>> >>> but adding float:left to: >>> >>> .gwt-TabLayoutPanelTab { >>> background: url(tab-inactive-left.png) no-repeat bottom left; >>> float:left; >>> } >>> >>> solves the problem. >>> >>> Alejandro. >>> >>> -- >>> http://groups.google.com/group/Google-Web-Toolkit-Contributors >>> >> >> -- >> http://groups.google.com/group/Google-Web-Toolkit-Contributors > > > > -- > http://groups.google.com/group/Google-Web-Toolkit-Contributors >
-- http://groups.google.com/group/Google-Web-Toolkit-Contributors
