summaryrefslogtreecommitdiff
path: root/dw/textblock.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2016-04-23 12:36:04 +0200
committerSebastian Geerken <devnull@localhost>2016-04-23 12:36:04 +0200
commitcd616fc93a5adb072d282f7afbdbe4b057f9d6fc (patch)
tree8073831411ce59ce6ca9dc430bb7506d0ba18467 /dw/textblock.cc
parenteb40226852118f6b24b594c307a6e12b369ceb04 (diff)
GROWS: new options allowDecreaseWidth and allowDecreaseHeight for size correction.
Diffstat (limited to 'dw/textblock.cc')
-rw-r--r--dw/textblock.cc3
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