diff options
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) |