diff --git a/src/widget/dialog.rs b/src/widget/dialog.rs index 50bf4f1e..ecc6ef05 100644 --- a/src/widget/dialog.rs +++ b/src/widget/dialog.rs @@ -125,7 +125,9 @@ impl<'a, Message: Clone + 'static> From> for Element<'a, Mes content_col = content_col .push(widget::vertical_space().height(Length::Fixed(space_xxs.into()))); } - content_col = content_col.push(widget::text::body(body)); + content_col = content_col.push( + widget::container(widget::scrollable(widget::text::body(body))).max_height(300.), + ); should_space = true; } for control in dialog.controls {