diff options
author | Sebastian Geerken <devnull@localhost> | 2016-04-23 12:36:04 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2016-04-23 12:36:04 +0200 |
commit | cd616fc93a5adb072d282f7afbdbe4b057f9d6fc (patch) | |
tree | 8073831411ce59ce6ca9dc430bb7506d0ba18467 /dw/textblock.cc | |
parent | eb40226852118f6b24b594c307a6e12b369ceb04 (diff) |
GROWS: new options allowDecreaseWidth and allowDecreaseHeight for size correction.
Diffstat (limited to 'dw/textblock.cc')
-rw-r--r-- | dw/textblock.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc index f0bdf72a..5cb68026 100644 --- a/dw/textblock.cc +++ b/dw/textblock.cc @@ -389,7 +389,8 @@ void Textblock::sizeRequestImpl (core::Requisition *requisition, int numPos, DBG_OBJ_MSGF ("resize", 1, "before correction: %d * (%d + %d)", requisition->width, requisition->ascent, requisition->descent); - correctRequisition (requisition, core::splitHeightPreserveAscent); + correctRequisition (requisition, core::splitHeightPreserveAscent, true, + false); // Dealing with parts out of flow, which may overlap the borders of // the text block. Base lines are ignored here: they do not play a |