diff options
Diffstat (limited to 'dw/widget.cc')
-rw-r--r-- | dw/widget.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dw/widget.cc b/dw/widget.cc index 8824baeb..7d83081a 100644 --- a/dw/widget.cc +++ b/dw/widget.cc @@ -1899,17 +1899,17 @@ void Widget::correctReqHeightOfChild (Widget *child, Requisition *requisition, requisition->ascent, requisition->descent, misc::boolToStr (allowDecreaseHeight)); - int height = child->calcHeight (child->getStyle()->height, false, -1, this, + int height = child->calcHeight (child->getStyle()->height, true, -1, this, false); adjustHeight (&height, allowDecreaseHeight, requisition->ascent, requisition->descent); - int minHeight = child->calcHeight (child->getStyle()->minHeight, false, -1, + int minHeight = child->calcHeight (child->getStyle()->minHeight, true, -1, this, false); adjustHeight (&minHeight, allowDecreaseHeight, requisition->ascent, requisition->descent); - int maxHeight = child->calcHeight (child->getStyle()->maxHeight, false, -1, + int maxHeight = child->calcHeight (child->getStyle()->maxHeight, true, -1, this, false); adjustHeight (&maxHeight, allowDecreaseHeight, requisition->ascent, requisition->descent); |