summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-06-19 21:43:54 +0200
committerSebastian Geerken <devnull@localhost>2014-06-19 21:43:54 +0200
commit0e0a0fe7bdd3d52ec78a7dd63e254aaca4fb0c2d (patch)
tree72443cb2d910ea9e025c01a2f03f8336413a2aab
parente96f5d77ff1553b4089fff0a0cbe5f0a42b8acfe (diff)
Some more fixes for table widget.
-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 ();
}