Browse Source

Fix for #5186

svn changeset:13756/svn branch:6.4
tags/6.7.0.beta1
John Alhroos 14 years ago
parent
commit
eba89124e3
1 changed files with 4 additions and 6 deletions
  1. 4
    6
      src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java

+ 4
- 6
src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java View File

@@ -1061,10 +1061,8 @@ public class VScrollTable extends FlowPanel implements Table, ScrollHandler,
scrollBody.setColWidth(colIndex, w);

// Set footer column width
final FooterCell fcell = tFoot.getFooterCell(colIndex);
if (fcell != null) {
fcell.setWidth(w, isDefinedWidth);
}
FooterCell fcell = tFoot.getFooterCell(colIndex);
fcell.setWidth(w, isDefinedWidth);
}

private int getColWidth(String colKey) {
@@ -2543,11 +2541,11 @@ public class VScrollTable extends FlowPanel implements Table, ScrollHandler,
if (width == w) {
return;
}
width = w;
if (width <= 0) {
if (width == -1) {
// go to default mode, clip content if necessary
DOM.setStyleAttribute(captionContainer, "overflow", "");
}
width = w;
if (w == -1) {
DOM.setStyleAttribute(captionContainer, "width", "");
setWidth("");

Loading…
Cancel
Save