diff options
author | Sebastian Geerken <devnull@localhost> | 2014-06-19 21:43:54 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-06-19 21:43:54 +0200 |
commit | 0e0a0fe7bdd3d52ec78a7dd63e254aaca4fb0c2d (patch) | |
tree | 72443cb2d910ea9e025c01a2f03f8336413a2aab | |
parent | e96f5d77ff1553b4089fff0a0cbe5f0a42b8acfe (diff) |
Some more fixes for table widget.
-rw-r--r-- | dw/table.cc | 8 |
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 (); } |