From ea47088195337580bbc53b322b6632562743ec44 Mon Sep 17 00:00:00 2001 From: pythcoiner Date: Fri, 19 Jul 2024 07:00:25 +0200 Subject: [PATCH] gui: app::view::psbt::change_view() display amount and address in separate rows --- gui/src/app/view/psbt.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gui/src/app/view/psbt.rs b/gui/src/app/view/psbt.rs index 173769ed..34b06aee 100644 --- a/gui/src/app/view/psbt.rs +++ b/gui/src/app/view/psbt.rs @@ -978,9 +978,14 @@ fn change_view(output: &TxOut, network: Network) -> Element { let addr = Address::from_script(&output.script_pubkey, network) .unwrap() .to_string(); - Row::new() + Column::new() .width(Length::Fill) .spacing(5) + .push( + Row::new() + .push(Space::with_width(Length::Fill)) + .push(amount(&output.value)), + ) .push( Row::new() .align_items(Alignment::Center) @@ -999,7 +1004,6 @@ fn change_view(output: &TxOut, network: Network) -> Element { ), ), ) - .push(amount(&output.value)) .into() }