aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-06-28 16:36:41 +0200
committerSebastian Geerken <devnull@localhost>2014-06-28 16:36:41 +0200
commit4ae51b1c17738e9282f610fb22704ff3f3617564 (patch)
tree0f18a39865c00f6d918ed43b321f2e14736b653f
parent157031fb01926465cc6d2a9b3b9fce37769359d6 (diff)
Another fix (column narrowing).
-rw-r--r--dw/table.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/dw/table.cc b/dw/table.cc
index b4137f43..bb324bbb 100644
--- a/dw/table.cc
+++ b/dw/table.cc
@@ -649,14 +649,9 @@ void Table::forceCalcCellSizes (bool calcHeights)
int totalWidth = getAvailWidth (true);
DBG_OBJ_MSGF ("resize", 1, "(i) totalWidth = %d", totalWidth);
- if (totalWidth < extremes.minWidth)
- totalWidth = extremes.minWidth;
-
- DBG_OBJ_MSGF ("resize", 1, "(ii) totalWidth = %d", totalWidth);
-
totalWidth -= ((numCols + 1) * getStyle()->hBorderSpacing + boxDiffWidth ());
- DBG_OBJ_MSGF ("resize", 1, "(iii) totalWidth = %d", totalWidth);
+ DBG_OBJ_MSGF ("resize", 1, "(ii) totalWidth = %d", totalWidth);
colWidths->setSize (numCols, 0);
cumHeight->setSize (numRows + 1, 0);