Use CSS style sheet.

Avoid confusing text behind default transparent popup.
This commit is contained in:
SET
2020-11-03 14:15:11 +01:00
parent 980b172c96
commit 0bb61b7119
7 changed files with 34 additions and 2 deletions

View File

@@ -28,6 +28,8 @@ Deleter::~Deleter() {
void Deleter::Create() {
m_cwMain = static_cast<WContainerWidget*> (implementation());
// White in css file, like default background color.
m_cwMain->setStyleClass("popup");
WVBoxLayout * vblMain = new WVBoxLayout();
m_cwMain->setLayout(unique_ptr<WVBoxLayout> (vblMain));
m_cbConfirm = new WCheckBox(TR("Confirm"));