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

@@ -44,6 +44,8 @@ void PopupCertifyUserId::Create(vector<WString>& privateKeys,
{
m_fprKeyToSign = fprKeyToSign;
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));