fix: add scrollable to about view

This commit is contained in:
Eduardo Flores 2024-11-09 12:16:00 +01:00 committed by Michael Murphy
parent 8c69491f2a
commit 6f53b68be5

View file

@ -659,7 +659,8 @@ where
let copyright = about.copyright.as_ref().map(widget::text::body); let copyright = about.copyright.as_ref().map(widget::text::body);
let comments = about.comments.as_ref().map(widget::text::body); let comments = about.comments.as_ref().map(widget::text::body);
let about = widget::column() let about = widget::scrollable(
widget::column()
.push_maybe(application_icon) .push_maybe(application_icon)
.push_maybe(application_name) .push_maybe(application_name)
.push_maybe(developer_name) .push_maybe(developer_name)
@ -679,7 +680,8 @@ where
.push_maybe(copyright) .push_maybe(copyright)
.align_x(Alignment::Center) .align_x(Alignment::Center)
.spacing(spacing.space_xs) .spacing(spacing.space_xs)
.width(Length::Fill) .width(Length::Fill),
)
.into(); .into();
Some(about) Some(about)
} }