From 5d2d0ad3126bcbfcaffb318239fc58c48e92f892 Mon Sep 17 00:00:00 2001 From: Davide Grilli Date: Tue, 16 Jun 2026 15:04:07 +0200 Subject: [PATCH] feat(ui): two-column desktop layout for Send/Receive, fixed window size MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Send tab: Recipient and Amount cards side-by-side on desktop using a two-column Grid, making full use of the available window width. Summary card and action buttons remain full-width below both columns. Mobile retains the original vertical stack. Receive tab: QR card on the left (auto-width), address card expands to fill the right column on desktop — standard fintech wallet pattern. Mobile retains QR above, address below. Window enlarged to 1020×680 (from 900×620) and fixed with CanResize=False; Min/Max dimensions match so the resize handle never appears. --- src/App/Localization/Loc.cs | 4 + src/App/Views/MainView.axaml | 376 +++++++++++++++++++++++---------- src/App/Views/MainWindow.axaml | 7 +- 3 files changed, 275 insertions(+), 112 deletions(-) diff --git a/src/App/Localization/Loc.cs b/src/App/Localization/Loc.cs index fc2f2e6..1f623a2 100644 --- a/src/App/Localization/Loc.cs +++ b/src/App/Localization/Loc.cs @@ -230,6 +230,10 @@ public sealed class Loc ["send.prepare"] = ["Prepara transazione", "Prepare transaction", "Preparar transacción", "Préparer la transaction", "Preparar transação", "Transaktion vorbereiten"], ["send.scan"] = ["Scansiona QR", "Scan QR", "Escanear QR", "Scanner QR", "Escanear QR", "QR scannen"], ["send.confirm"] = ["CONFERMA E TRASMETTI", "CONFIRM AND BROADCAST", "CONFIRMAR Y TRANSMITIR", "CONFIRMER ET DIFFUSER", "CONFIRMAR E TRANSMITIR", "BESTÄTIGEN UND SENDEN"], + ["send.sect.recipient"] = ["Destinatario", "Recipient", "Destinatario", "Destinataire", "Destinatário", "Empfänger"], + ["send.sect.amount"] = ["Importo e commissione", "Amount & fee", "Importe y comisión", "Montant et frais", "Valor e taxa", "Betrag & Gebühr"], + ["send.summary"] = ["Riepilogo", "Summary", "Resumen", "Résumé", "Resumo", "Zusammenfassung"], + ["receive.your.address"] = ["Il tuo indirizzo", "Your address", "Tu dirección", "Votre adresse", "Seu endereço", "Deine Adresse"], // Connection status ["conn.none"] = ["non connesso", "not connected", "no conectado", "non connecté", "não conectado", "nicht verbunden"], diff --git a/src/App/Views/MainView.axaml b/src/App/Views/MainView.axaml index 50f8dbd..ac9fe1b 100644 --- a/src/App/Views/MainView.axaml +++ b/src/App/Views/MainView.axaml @@ -332,21 +332,22 @@ - + + - - + + - @@ -392,143 +393,298 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +