set eap checkbtn background coclor to 61,61,65

This commit is contained in:
crrs666 2021-03-26 15:51:55 +08:00
parent 0ae432abda
commit 53a4629dc3
1 changed files with 2 additions and 0 deletions

View File

@ -210,6 +210,7 @@ void WpaWifiDialog::initUI() {
pwdShowLabel = new QLabel(pwdShowFrame); pwdShowLabel = new QLabel(pwdShowFrame);
pwdShowLabel->setFixedWidth(120); pwdShowLabel->setFixedWidth(120);
pwdShowBtn->setFixedSize(16, 16); pwdShowBtn->setFixedSize(16, 16);
pwdShowBtn->setStyleSheet("background-color:rgb(61,61,65);");
pwdShowLabel->setText(tr("Show password")); pwdShowLabel->setText(tr("Show password"));
pwdShowLyt->addWidget(pwdShowBtn); pwdShowLyt->addWidget(pwdShowBtn);
pwdShowLyt->addWidget(pwdShowLabel); pwdShowLyt->addWidget(pwdShowLabel);
@ -220,6 +221,7 @@ void WpaWifiDialog::initUI() {
askPwdLyt = new QHBoxLayout(askPwdFrame); askPwdLyt = new QHBoxLayout(askPwdFrame);
askPwdLyt->setContentsMargins(130, 0, 0, 0); askPwdLyt->setContentsMargins(130, 0, 0, 0);
askPwdBtn = new QCheckBox(askPwdFrame); askPwdBtn = new QCheckBox(askPwdFrame);
askPwdBtn->setStyleSheet("background-color:rgb(61,61,65);");
askPwdlabel = new QLabel(askPwdFrame); askPwdlabel = new QLabel(askPwdFrame);
// askPwdlabel->setFixedWidth(120); // askPwdlabel->setFixedWidth(120);
askPwdBtn->setFixedSize(16, 16); askPwdBtn->setFixedSize(16, 16);