summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2008-10-01 12:15:17 +0000
committerArtur Signell <artur.signell@itmill.com>2008-10-01 12:15:17 +0000
commitc6e6ecd21832fd7d27058c55f115954ff5134b3a (patch)
treec0eb926de8adef7a4b2410f88c616aafa6816e5e /src
parenta863721655a5ac76ddb360f883ee32cf7a45339d (diff)
downloadvaadin-framework-c6e6ecd21832fd7d27058c55f115954ff5134b3a.tar.gz
vaadin-framework-c6e6ecd21832fd7d27058c55f115954ff5134b3a.zip
Fix OrderedLayout problem with IE6
svn changeset:5577/svn branch:trunk
Diffstat (limited to 'src')
-rw-r--r--src/com/itmill/toolkit/terminal/gwt/client/ui/IOrderedLayout.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ui/IOrderedLayout.java b/src/com/itmill/toolkit/terminal/gwt/client/ui/IOrderedLayout.java
index 48bf6fa1f6..05df68cd88 100644
--- a/src/com/itmill/toolkit/terminal/gwt/client/ui/IOrderedLayout.java
+++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/IOrderedLayout.java
@@ -385,8 +385,12 @@ public class IOrderedLayout extends Panel implements Container,
String structure = "<table cellspacing=\"0\" cellpadding=\"0\"";
if (orientationMode == ORIENTATION_HORIZONTAL) {
- // Needed for vertical alignment to work
- structure += " height=\"100%\"";
+ if (BrowserInfo.get().isIE6()) {
+ structure += " style=\"height: expression(this.parentElement.offsetHeight+'px')\"";
+ } else {
+ // Needed for vertical alignment to work
+ structure += " height=\"100%\"";
+ }
}
structure += "><tbody>"
+ (orientationMode == ORIENTATION_HORIZONTAL ? "<tr valign=\"top\"></tr>"