Merge branch '2203bug-cc' into 'yhkylin/v101'
fix bug #173716解决移动热点英文模式无提示图标问题 See merge request kylinos-src/kylin-nm!179
This commit is contained in:
commit
4053d25820
|
@ -602,7 +602,7 @@ void MobileHotspotWidget::setInterFaceFrame()
|
|||
m_warnWidget->setFixedHeight(20);
|
||||
m_warnWidget->setContentsMargins(8,0,0,0);
|
||||
|
||||
QFormLayout *warnTextHLayout = new QFormLayout(m_warnWidget);
|
||||
QHBoxLayout *warnTextHLayout = new QHBoxLayout(m_warnWidget);
|
||||
QLabel* warnIcon = new QLabel(this);
|
||||
warnIcon->setContentsMargins(0,0,0,0);
|
||||
warnIcon->setPixmap(QIcon::fromTheme("dialog-warning").pixmap(16,16));
|
||||
|
@ -616,16 +616,11 @@ void MobileHotspotWidget::setInterFaceFrame()
|
|||
|
||||
warnTextHLayout->setSpacing(8);
|
||||
warnTextHLayout->setContentsMargins(0,0,0,0);
|
||||
warnTextHLayout->addRow(warnIcon, m_interfaceWarnLabel);
|
||||
warnTextHLayout->addWidget(warnIcon);
|
||||
warnTextHLayout->addWidget(m_interfaceWarnLabel);
|
||||
warnIcon->setFixedWidth(16);
|
||||
m_warnWidget->setLayout(warnTextHLayout);
|
||||
|
||||
QWidget *pwdInputWidget = new QWidget(m_interfaceFrame);
|
||||
QVBoxLayout *pwdInputVLayout = new QVBoxLayout(pwdInputWidget);
|
||||
pwdInputVLayout->setContentsMargins(CONTENTS_MARGINS);
|
||||
pwdInputVLayout->setSpacing(0);
|
||||
pwdInputVLayout->addWidget(m_interfaceComboBox);
|
||||
pwdInputVLayout->addWidget(m_warnWidget);
|
||||
|
||||
QGridLayout *interfaceFLayout = new QGridLayout(m_interfaceFrame);
|
||||
interfaceFLayout->setContentsMargins(PASSWORD_ITEM_MARGINS);
|
||||
interfaceFLayout->setSpacing(0);
|
||||
|
|
Loading…
Reference in New Issue