diff options
author | Sebastian Geerken <devnull@localhost> | 2015-01-04 20:44:00 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2015-01-04 20:44:00 +0100 |
commit | 8fc91bbfd90c0ccafc842d94e2b3bd10b8889595 (patch) | |
tree | cf000926053fbf18c8654890a33bbcf87fb775b1 /dw/image.cc | |
parent | a9cd5ace07c664beb87b0b4fbcbff5a9c4213a86 (diff) |
Added Extremes::adjustmentWidth; fixed Textblock::mustBeWidenedToAvailWidth.
Diffstat (limited to 'dw/image.cc')
-rw-r--r-- | dw/image.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dw/image.cc b/dw/image.cc index f6bf6434..b9a1abeb 100644 --- a/dw/image.cc +++ b/dw/image.cc @@ -265,6 +265,9 @@ void Image::getExtremesImpl (core::Extremes *extremes) extremes->maxWidthIntrinsic = extremes->maxWidth; correctExtremes (extremes); + + extremes->adjustmentWidth = + misc::min (extremes->minWidthIntrinsic, extremes->minWidth); } void Image::sizeAllocateImpl (core::Allocation *allocation) |