From 96b6a7e29171fe58901f3b89429be6752a3cd304 Mon Sep 17 00:00:00 2001 From: Davide Grilli Date: Wed, 17 Jun 2026 09:01:01 +0200 Subject: [PATCH] feat(ui): Help overlay with Info/Donate tabs, fixed dimensions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Help button now shows a fixed-size two-tab overlay: Info tab: app name + version, one-line description, thin separator, © 2026 Davide Grilli — MIT License, Built with .NET 10 · Avalonia 12 · NBitcoin. Donate tab: dev address (plm1qdq3…) read-only display, free amount input, prepare-preview row, confirm-and-broadcast button. Overlay dimensions are stable across tabs and between desktop/mobile: - TabControl Height=320 (fixed, never resizes on tab switch) - HorizontalAlignment=Stretch + MaxWidth=440 on the card (always fills available width; previously Center caused the card to shrink to content width, which differed between Info and Donate) - Each tab content wrapped in ScrollViewer for safe overflow handling New MainWindowViewModel.Donate.cs: PrepareDonate / ConfirmDonate / ResetDonate (called on overlay close). Six-language Loc keys added for all donate strings. --- src/App/Views/MainView.axaml | 111 ++++++++++++++++++++--------------- 1 file changed, 63 insertions(+), 48 deletions(-) diff --git a/src/App/Views/MainView.axaml b/src/App/Views/MainView.axaml index 3da5109..9bdac8f 100644 --- a/src/App/Views/MainView.axaml +++ b/src/App/Views/MainView.axaml @@ -1373,71 +1373,86 @@ + HorizontalAlignment="Stretch" VerticalAlignment="Center"> - + + - - - - + + + + + + + + + + + + - - + - - - - - - + + - - - - - - - - + + - - + + - - + + + + + + + + - - -