Fix ModalOverlay readability by removing background transparency

This commit is contained in:
2026-01-11 18:51:44 +01:00
parent f6223d1b1e
commit d0233e1759
3 changed files with 7 additions and 1 deletions

0
quick-build.sh Normal file → Executable file
View File

View File

@@ -32,7 +32,7 @@
<item> <item>
<widget class="QWidget" name="bgWidget" native="true"> <widget class="QWidget" name="bgWidget" native="true">
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">#bgWidget { background: rgba(0,0,0,220); }</string> <string notr="true"></string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayoutMain" stretch="1"> <layout class="QVBoxLayout" name="verticalLayoutMain" stretch="1">
<property name="leftMargin"> <property name="leftMargin">

View File

@@ -27,6 +27,12 @@ userClosed(false)
raise(); raise();
} }
// Set opaque background using palette
QPalette pal = ui->bgWidget->palette();
pal.setColor(QPalette::Window, pal.color(QPalette::Window));
ui->bgWidget->setAutoFillBackground(true);
ui->bgWidget->setPalette(pal);
blockProcessTime.clear(); blockProcessTime.clear();
setVisible(false); setVisible(false);
if (!enable_wallet) { if (!enable_wallet) {