| commit | e5085948c20d1fe6fe10d80a0612974b19813654 | [log] [tgz] |
|---|---|---|
| author | jgw@google.com <jgw@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Wed Dec 02 06:01:22 2009 +0000 |
| committer | jgw@google.com <jgw@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Wed Dec 02 06:01:22 2009 +0000 |
| tree | 3fa9e7dc263f805cd1deb9667bef4e7e694cf1f5 | |
| parent | b2be1144a87a004ca9f66c95353ae960321b1e7b [diff] |
Fixing TabLayoutPanel tab stacking (float -> cssFloat). Review: jlabanca (tbr) git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@7228 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/user/client/ui/TabLayoutPanel.java b/user/src/com/google/gwt/user/client/ui/TabLayoutPanel.java index d7bfcf3..8cccb78 100644 --- a/user/src/com/google/gwt/user/client/ui/TabLayoutPanel.java +++ b/user/src/com/google/gwt/user/client/ui/TabLayoutPanel.java
@@ -108,7 +108,7 @@ // heights, the shorter ones will top-align, rather than bottom-align, // which is what we would want. display:inline-block fixes this, but // needs lots of cross-browser hacks to work properly. - getElement().getStyle().setProperty("float", "left"); + getElement().getStyle().setProperty("cssFloat", "left"); } public HandlerRegistration addClickHandler(ClickHandler handler) {