diff options
author | Sebastian Geerken <devnull@localhost> | 2016-01-10 12:33:17 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2016-01-10 12:33:17 +0100 |
commit | 32d24ec33ce800cd14ecf05d68a659143a3e1cd3 (patch) | |
tree | 4b3faa160f41daf3142dcacb1e4df66292f018c1 /dw/textblock.cc | |
parent | 59cf0c0449aebbbee12c03883f4a236f843e5b39 (diff) |
RTFL.
Diffstat (limited to 'dw/textblock.cc')
-rw-r--r-- | dw/textblock.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc index 76d5a2c1..cebfa972 100644 --- a/dw/textblock.cc +++ b/dw/textblock.cc @@ -2278,6 +2278,7 @@ bool Textblock::calcSizeOfWidgetInFlow (int wordIndex, Widget *widget, widget->getStyle()->display == core::style::DISPLAY_LIST_ITEM || widget->getStyle()->display == core::style::DISPLAY_TABLE)) { // pass positions + DBG_OBJ_MSG ("resize", 1, "pass position"); int lastWord = lines->empty () ? -1 : lines->getLastRef()->lastWord; assert (wordIndex > lastWord); @@ -2304,6 +2305,7 @@ bool Textblock::calcSizeOfWidgetInFlow (int wordIndex, Widget *widget, result = true; } else { // do not pass positions (inline elements etc) + DBG_OBJ_MSG ("resize", 1, "do not pass position"); widget->sizeRequest (size); result = false; } |