Improve UI: enhance splash screen readability and fix window minimum size

This commit is contained in:
2026-01-12 23:47:55 +01:00
parent 5ff9fa136b
commit b045fe7c0d

View File

@@ -109,9 +109,6 @@ PalladiumGUI::PalladiumGUI(interfaces::Node& node, const PlatformStyle *_platfor
move(QGuiApplication::primaryScreen()->availableGeometry().center() - frameGeometry().center()); 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 #ifdef ENABLE_WALLET
enableWallet = WalletModel::isWalletEnabled(); enableWallet = WalletModel::isWalletEnabled();
#endif // ENABLE_WALLET #endif // ENABLE_WALLET
@@ -267,6 +264,10 @@ PalladiumGUI::PalladiumGUI(interfaces::Node& node, const PlatformStyle *_platfor
// Check beim Start ausführen // Check beim Start ausführen
checkUpdate(); checkUpdate();
// --- ENDE EINFÜGUNG: UPDATE CHECKER --- // --- ENDE EINFÜGUNG: UPDATE CHECKER ---
// Set minimum window size to prevent UI breaking
// Must be set AFTER all widgets are configured to ensure it's not overridden
setMinimumSize(850, 550);
} }
PalladiumGUI::~PalladiumGUI() PalladiumGUI::~PalladiumGUI()