From fb5a51f09cfcf151734412028af5d337eeae6e7b Mon Sep 17 00:00:00 2001 From: pythcoiner Date: Tue, 1 Apr 2025 02:49:21 +0200 Subject: [PATCH] gui: fix liana connect invitation alignement --- liana-gui/src/installer/view/mod.rs | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/liana-gui/src/installer/view/mod.rs b/liana-gui/src/installer/view/mod.rs index f7c2a41e..b91f19fd 100644 --- a/liana-gui/src/installer/view/mod.rs +++ b/liana-gui/src/installer/view/mod.rs @@ -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 {