diff options
author | Sebastian Geerken <devnull@localhost> | 2014-08-22 23:28:02 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-08-22 23:28:02 +0200 |
commit | b44aef32ebc9daa2dbcc3a916e53711c6676e458 (patch) | |
tree | 84e21b7210a0273ed73e7bb6f0e9d78ecccbe100 /dw/widget.cc | |
parent | a22eca2db8a8cb7e4f591bf9c775be2439e39a6a (diff) |
Fixed CSS width calculation bug.
Diffstat (limited to 'dw/widget.cc')
-rw-r--r-- | dw/widget.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dw/widget.cc b/dw/widget.cc index 337a0d55..12e0a3a2 100644 --- a/dw/widget.cc +++ b/dw/widget.cc @@ -1570,8 +1570,8 @@ void Widget::correctReqWidthOfChild (Widget *child, Requisition *requisition) assert (this == child->quasiParent || this == child->container); int limitMinWidth = child->getMinWidth (NULL, true); - calcFinalWidth (child->getStyle(), -1, this, limitMinWidth, false, - &requisition->width); + child->calcFinalWidth (child->getStyle(), -1, this, limitMinWidth, false, + &requisition->width); DBG_OBJ_MSGF ("resize", 1, "=> %d * (%d + %d)", requisition->width, requisition->ascent, |