aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java b/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java
index 45c5fcfc04..2b0bb60aae 100644
--- a/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java
+++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java
@@ -2228,16 +2228,14 @@ public class IScrollTable extends FlowPanel implements Table, ScrollListener {
HeaderCell headerCell = tHead.getHeaderCell(i);
if (headerCell != null) {
if (initializedAndAttached) {
- w = headerCell.getWidth() - CELL_EXTRA_WIDTH
- - CELL_CONTENT_PADDING;
+ w = headerCell.getWidth() - CELL_CONTENT_PADDING;
} else {
// header offset width is not absolutely correct value,
// but
// a best guess (expecting similar content in all
// columns ->
// if one component is relative width so are others)
- w = headerCell.getOffsetWidth() - CELL_EXTRA_WIDTH
- - CELL_CONTENT_PADDING;
+ w = headerCell.getOffsetWidth() - CELL_CONTENT_PADDING;
}
}
return new RenderSpace(w, getRowHeight());