Fix UI occlusion

This commit is contained in:
andrew-wuhan-huawei-990-pc 2021-03-03 15:17:45 +08:00
parent 959cb7ea2d
commit f281dcf787
3 changed files with 4 additions and 4 deletions

View File

@ -112,7 +112,7 @@ void WpaWifiDialog::initUI() {
nameEditor = new QLineEdit(nameFrame); nameEditor = new QLineEdit(nameFrame);
nameEditor->setFixedHeight(48); nameEditor->setFixedHeight(48);
nameLabel->setFixedWidth(100); nameLabel->setFixedWidth(100);
nameLabel->setText(tr("Connection name")); nameLabel->setText(tr("Name"));
nameEditor->setText(connectionName); nameEditor->setText(connectionName);
if (connectionName == "") { if (connectionName == "") {
//添加隐藏wifi时 //添加隐藏wifi时
@ -165,7 +165,7 @@ void WpaWifiDialog::initUI() {
innerCombox = new QComboBox(innerFrame); innerCombox = new QComboBox(innerFrame);
innerCombox->setFixedHeight(48); innerCombox->setFixedHeight(48);
innerLabel->setFixedWidth(100); innerLabel->setFixedWidth(100);
innerLabel->setText(tr("inner authentication")); innerLabel->setText(tr("Inner auth"));
innerLyt->addWidget(innerLabel); innerLyt->addWidget(innerLabel);
innerLyt->addWidget(innerCombox); innerLyt->addWidget(innerCombox);
innerFrame->setLayout(innerLyt); innerFrame->setLayout(innerLyt);

Binary file not shown.

View File

@ -1771,7 +1771,7 @@
</message> </message>
<message> <message>
<location filename="../src/wpawifidialog.cpp" line="113"/> <location filename="../src/wpawifidialog.cpp" line="113"/>
<source>Connection name</source> <source>Name</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
@ -1786,7 +1786,7 @@
</message> </message>
<message> <message>
<location filename="../src/wpawifidialog.cpp" line="166"/> <location filename="../src/wpawifidialog.cpp" line="166"/>
<source>inner authentication</source> <source>Inner auth</source>
<translation type="unfinished">2</translation> <translation type="unfinished">2</translation>
</message> </message>
<message> <message>