From 0e0a0fe7bdd3d52ec78a7dd63e254aaca4fb0c2d Mon Sep 17 00:00:00 2001 From: Sebastian Geerken Date: Thu, 19 Jun 2014 21:43:54 +0200 Subject: Some more fixes for table widget. --- dw/table.cc | 8 +++++--- 1 file 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 (); } -- cgit v1.2.3