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/image.cc | |
parent | eb40226852118f6b24b594c307a6e12b369ceb04 (diff) |
GROWS: new options allowDecreaseWidth and allowDecreaseHeight for size correction.
Diffstat (limited to 'dw/image.cc')
-rw-r--r-- | dw/image.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dw/image.cc b/dw/image.cc index 519b82bb..82118949 100644 --- a/dw/image.cc +++ b/dw/image.cc @@ -200,7 +200,8 @@ void Image::sizeRequestSimpl (core::Requisition *requisition) requisition->ascent += boxOffsetY (); requisition->descent += boxRestHeight (); - correctRequisition (requisition, core::splitHeightPreserveDescent); + correctRequisition (requisition, core::splitHeightPreserveDescent, true, + true); if (buffer) { // If one dimension is set, preserve the aspect ratio (without |