From b86d8852e553af9bc3a690000f99697ba25a3d68 Mon Sep 17 00:00:00 2001 From: Haas Date: Sat, 7 Oct 2023 21:00:04 +0200 Subject: [PATCH] Update DlgSettingsWorkbenchesImp.cpp added translucent background for workbench name/icon widget. --- src/Gui/PreferencePages/DlgSettingsWorkbenchesImp.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Gui/PreferencePages/DlgSettingsWorkbenchesImp.cpp b/src/Gui/PreferencePages/DlgSettingsWorkbenchesImp.cpp index a45429e7e266..9f819d492080 100644 --- a/src/Gui/PreferencePages/DlgSettingsWorkbenchesImp.cpp +++ b/src/Gui/PreferencePages/DlgSettingsWorkbenchesImp.cpp @@ -124,7 +124,8 @@ wbListItem::wbListItem(const QString& wbName, bool enabled, bool startupWb, bool subLayout->setAlignment(Qt::AlignLeft); subLayout->setContentsMargins(5, 0, 0, 5); subWidget->setMinimumSize(250, 0); - + subWidget->setAttribute(Qt::WA_TranslucentBackground); + // 5: Autoloaded checkBox. autoloadCheckBox = new QCheckBox(this); autoloadCheckBox->setText(tr("Auto-load"));