fix: dialog body overflows
This commit is contained in:
parent
529eeebaeb
commit
f2e965c76c
1 changed files with 3 additions and 1 deletions
|
|
@ -125,7 +125,9 @@ impl<'a, Message: Clone + 'static> From<Dialog<'a, Message>> 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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue