Merge #1625: gui: fix liana connect invitation alignement

fb5a51f09cfcf151734412028af5d337eeae6e7b gui: fix liana connect invitation alignement (pythcoiner)

Pull request description:

  fixes #1622

  before:

  ![image](https://github.com/user-attachments/assets/2a6777dd-7f0a-4440-a46f-a71de75908e0)

  after:

  ![image](https://github.com/user-attachments/assets/3839270a-48ff-4fdf-a154-e66d6a4ae5e2)

ACKs for top commit:
  edouardparis:
    utACK fb5a51f09cfcf151734412028af5d337eeae6e7b

Tree-SHA512: 094cc33a40c1e91b17305b920f0816d747b161d234218b35fc904a1c32029acde4c181a3cd53a8c51dfef6702e64dbcbaa399bfbb635948fe9d4e267128c98ec
This commit is contained in:
edouardparis 2025-04-01 08:51:43 +02:00
commit 715910e624
No known key found for this signature in database
GPG Key ID: E65F7A089C20DC8F

View File

@ -109,18 +109,23 @@ pub fn import_wallet_or_descriptor<'a>(
.push(
Row::new()
.spacing(5)
.push(Space::with_width(15))
.push(text("Accept invitation for wallet:"))
.push(text(wallet).bold()),
)
.push(
Row::new().push(Space::with_width(Length::Fill)).push(
button::secondary(None, "Accept")
.width(Length::Fixed(200.0))
.on_press(Message::ImportRemoteWallet(
message::ImportRemoteWallet::AcceptInvitation,
)),
),
Row::new()
.push(Space::with_width(Length::Fill))
.push(
button::secondary(None, "Accept")
.width(Length::Fixed(200.0))
.on_press(Message::ImportRemoteWallet(
message::ImportRemoteWallet::AcceptInvitation,
)),
)
.push(Space::with_width(Length::Fill)),
)
.push(Space::with_width(5))
.spacing(20),
)
} else {