aboutsummaryrefslogtreecommitdiff
path: root/dw/table.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/table.cc')
-rw-r--r--dw/table.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/dw/table.cc b/dw/table.cc
index c9c725be..b71d030a 100644
--- a/dw/table.cc
+++ b/dw/table.cc
@@ -116,6 +116,8 @@ void Table::sizeRequestImpl (core::Requisition *requisition)
+ getStyle()->vBorderSpacing;
requisition->descent = 0;
+ correctRequisition (requisition, core::splitHeightPreserveDescent);
+
DBG_OBJ_MSG_END ();
}
@@ -135,11 +137,11 @@ void Table::getExtremesImpl (core::Extremes *extremes)
for (int col = 0; col < numCols; col++) {
extremes->minWidth += colExtremes->getRef(col)->minWidth;
extremes->maxWidth += colExtremes->getRef(col)->maxWidth;
- }
-
- correctExtremes (extremes);
+ }
}
+ correctExtremes (extremes);
+
DBG_OBJ_MSG_END ();
}