Merge #1415: gui(installer): add space at bottom of pages

a105c495005ba715883a6e9a53fbdde93e7741ae gui(installer): add space at bottom of pages (Michael Mallan)

Pull request description:

  This is to fix #1410, including for the mnemonic and descriptor backup steps.

  The space height in all cases will be 70.0 when combined with the existing vertical spacing between elements.

ACKs for top commit:
  pythcoiner:
    ACK tested [a105c49](a105c49500)
  edouardparis:
    ACK a105c495005ba715883a6e9a53fbdde93e7741ae

Tree-SHA512: 5e9f27b80490e1eea0690750a52c650c7ea607c9c42a25cb0e96dab779d691e057a2629c00c772b0c5101d4054108eb8f33ea984b837026bb858824221aca71f
This commit is contained in:
edouardparis 2024-11-04 17:36:35 +01:00
commit c4370f8d41
No known key found for this signature in database
GPG Key ID: E65F7A089C20DC8F
4 changed files with 5 additions and 0 deletions

View File

@ -46,6 +46,7 @@ pub fn custom_template_description(progress: (usize, usize)) -> Element<'static,
.horizontal_alignment(alignment::Horizontal::Left)
).align_x(alignment::Horizontal::Left).width(Length::Fill))
.push(Row::new().push(Space::with_width(Length::Fill)).push(button::primary(None, "Select").width(Length::Fixed(200.0)).on_press(Message::Next)))
.push(Space::with_height(50.0))
.spacing(20),
true,
Some(Message::Previous),

View File

@ -57,6 +57,7 @@ After a period of inactivity (but not before that) your Inheritance Key will bec
).align_x(alignment::Horizontal::Left).width(Length::Fill))
.push(image::inheritance_template_description().width(Length::Fill))
.push(Row::new().push(Space::with_width(Length::Fill)).push(button::primary(None, "Select").width(Length::Fixed(200.0)).on_press(Message::Next)))
.push(Space::with_height(50.0))
.spacing(20),
true,
Some(Message::Previous),

View File

@ -67,6 +67,7 @@ pub fn multisig_security_template_description(
).align_x(alignment::Horizontal::Left).width(Length::Fill))
.push(image::multisig_security_template_description().width(Length::Fill))
.push(Row::new().push(Space::with_width(Length::Fill)).push(button::primary(None, "Select").width(Length::Fixed(200.0)).on_press(Message::Next)))
.push(Space::with_height(50.0))
.spacing(20),
true,
Some(Message::Previous),

View File

@ -758,6 +758,7 @@ pub fn backup_descriptor<'a>(
} else {
button::secondary(None, "Next").width(Length::Fixed(200.0))
})
.push(Space::with_height(20.0))
.spacing(50),
true,
Some(Message::Previous),
@ -1692,6 +1693,7 @@ pub fn backup_mnemonic<'a>(
} else {
button::secondary(None, "Next").width(Length::Fixed(200.0))
})
.push(Space::with_height(20.0))
.spacing(50),
true,
Some(Message::Previous),