]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fix for #5022
authorJohn Alhroos <john.ahlroos@itmill.com>
Thu, 20 May 2010 13:13:17 +0000 (13:13 +0000)
committerJohn Alhroos <john.ahlroos@itmill.com>
Thu, 20 May 2010 13:13:17 +0000 (13:13 +0000)
svn changeset:13280/svn branch:6.3

src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java

index f62da54ff13b7817af64a127f8b51f164de3bcea..9f5c1b3fac667f781ad827d20d2f8e0fcce0e660 100644 (file)
@@ -1393,7 +1393,7 @@ public class VScrollTable extends FlowPanel implements Table, ScrollHandler,
 
     public class TableHead extends Panel implements ActionOwner {
 
-        private static final int WRAPPER_WIDTH = 9000;
+        private static final int WRAPPER_WIDTH = 900000;
 
         ArrayList<Widget> visibleCells = new ArrayList<Widget>();
 
@@ -2969,8 +2969,8 @@ public class VScrollTable extends FlowPanel implements Table, ScrollHandler,
     private void setContainerHeight() {
         if (height != null && !"".equals(height)) {
             int contentH = getOffsetHeight();
-            contentH -= showColHeaders ? tHead.getOffsetHeight() : 0;
-            contentH -= getContentAreaBorderHeight();
+            // contentH -= showColHeaders ? tHead.getOffsetHeight() : 0;
+            contentH -= getContentAreaBorderHeight() + tHead.getOffsetHeight();
             if (contentH < 0) {
                 contentH = 0;
             }