fix: add scrollable to about view
This commit is contained in:
parent
8c69491f2a
commit
6f53b68be5
1 changed files with 24 additions and 22 deletions
|
|
@ -659,28 +659,30 @@ 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(
|
||||||
.push_maybe(application_icon)
|
widget::column()
|
||||||
.push_maybe(application_name)
|
.push_maybe(application_icon)
|
||||||
.push_maybe(developer_name)
|
.push_maybe(application_name)
|
||||||
.push(
|
.push_maybe(developer_name)
|
||||||
widget::row()
|
.push(
|
||||||
.push_maybe(version)
|
widget::row()
|
||||||
.push_maybe(license)
|
.push_maybe(version)
|
||||||
.spacing(spacing.space_xs),
|
.push_maybe(license)
|
||||||
)
|
.spacing(spacing.space_xs),
|
||||||
.push_maybe(links_section)
|
)
|
||||||
.push_maybe(developers_section)
|
.push_maybe(links_section)
|
||||||
.push_maybe(designers_section)
|
.push_maybe(developers_section)
|
||||||
.push_maybe(artists_section)
|
.push_maybe(designers_section)
|
||||||
.push_maybe(translators_section)
|
.push_maybe(artists_section)
|
||||||
.push_maybe(documenters_section)
|
.push_maybe(translators_section)
|
||||||
.push_maybe(comments)
|
.push_maybe(documenters_section)
|
||||||
.push_maybe(copyright)
|
.push_maybe(comments)
|
||||||
.align_x(Alignment::Center)
|
.push_maybe(copyright)
|
||||||
.spacing(spacing.space_xs)
|
.align_x(Alignment::Center)
|
||||||
.width(Length::Fill)
|
.spacing(spacing.space_xs)
|
||||||
.into();
|
.width(Length::Fill),
|
||||||
|
)
|
||||||
|
.into();
|
||||||
Some(about)
|
Some(about)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue