144439 【xc平板】【设计】【备份还原】数据备份页面的图标异常
This commit is contained in:
parent
a012cb8e21
commit
ad7a2a9742
|
@ -360,7 +360,7 @@ void DataBackup::initSecondWidget()
|
|||
buttonAdd->setChangeHover();
|
||||
searchLayout->addWidget(buttonDelete);
|
||||
searchLayout->addWidget(buttonAdd);
|
||||
searchLayout->setAlignment(Qt::AlignRight);
|
||||
searchLayout->setAlignment(Qt::AlignRight | Qt::AlignVCenter);
|
||||
buttonDelete->setVisible(false);
|
||||
buttonAdd->setVisible(false);
|
||||
connect(editSelect, &QLineEdit::textChanged, this, [=](const QString& text) {
|
||||
|
@ -372,6 +372,14 @@ void DataBackup::initSecondWidget()
|
|||
buttonAdd->setVisible(false);
|
||||
}
|
||||
});
|
||||
// 平板中放大点
|
||||
if (GlobelBackupInfo::inst().isTabletMode()) {
|
||||
editSelect->setTextMargins(0, 0, 70, 0);
|
||||
buttonDelete->setFixedSize(28, 28);
|
||||
buttonDelete->setUkuiIconSchema("window-close-symbolic", ":/symbos/window-close-symbolic", QSize(24, 24));
|
||||
buttonAdd->setFixedSize(28, 28);
|
||||
buttonAdd->setUkuiIconSchema("object-select-symbolic", ":/symbos/object-select-symbolic", QSize(24, 24));
|
||||
}
|
||||
|
||||
// 选择按钮
|
||||
MyPushButton *buttonSelect = new MyPushButton;
|
||||
|
|
Loading…
Reference in New Issue