From 79b4945b31fea623f37f68da89abffae8ce53177 Mon Sep 17 00:00:00 2001 From: Davide Date: Mon, 12 Jan 2026 18:01:53 +0100 Subject: [PATCH] Fix text clipping in modal overlay and set minimum window size --- src/qt/forms/modaloverlay.ui | 14 ++++++++++++-- src/qt/palladiumgui.cpp | 3 +++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/qt/forms/modaloverlay.ui b/src/qt/forms/modaloverlay.ui index 9aa6fbd..3ac7429 100644 --- a/src/qt/forms/modaloverlay.ui +++ b/src/qt/forms/modaloverlay.ui @@ -50,7 +50,8 @@ - #contentWidget { border-radius: 6px; } + #contentWidget { border-radius: 6px; } +QFormLayout QLabel { min-height: 20px; } @@ -193,7 +194,7 @@ 16 - 10 + 12 0 @@ -325,9 +326,18 @@ + + + 0 + 0 + + calculating... + + false + diff --git a/src/qt/palladiumgui.cpp b/src/qt/palladiumgui.cpp index 5f51df2..6f1ce09 100644 --- a/src/qt/palladiumgui.cpp +++ b/src/qt/palladiumgui.cpp @@ -109,6 +109,9 @@ PalladiumGUI::PalladiumGUI(interfaces::Node& node, const PlatformStyle *_platfor move(QGuiApplication::primaryScreen()->availableGeometry().center() - frameGeometry().center()); } + // Set minimum window size to prevent UI breaking (must be after restoreGeometry) + setMinimumSize(850, 550); + #ifdef ENABLE_WALLET enableWallet = WalletModel::isWalletEnabled(); #endif // ENABLE_WALLET