diff --git a/widget/src/image.rs b/widget/src/image.rs index 20b7b70c..f8546b16 100644 --- a/widget/src/image.rs +++ b/widget/src/image.rs @@ -190,7 +190,7 @@ where // The size to be available to the widget prior to `Shrink`ing let bounds = if expand { - limits.max() + limits.width(width).height(height).max() } else { limits.resolve(width, height, rotated_size) };