feat: Supplement translations.
This commit is contained in:
@@ -23,7 +23,10 @@ AsyncActionDialog::AsyncActionDialog(AsyncAction* aAsyncAction,const QString& aT
|
||||
|
||||
mLayout->setSpacing(10);
|
||||
mLayout->addWidget(mContentWidget);
|
||||
mLayout->addWidget(mLoadingWidget);
|
||||
mLayout->addWidget(mLoadingWidget);
|
||||
QMargins margin = mLayout->contentsMargins();
|
||||
margin.setBottom(1);
|
||||
mLayout->setContentsMargins(margin);
|
||||
}
|
||||
|
||||
AsyncActionDialog::~AsyncActionDialog()
|
||||
|
||||
@@ -128,6 +128,7 @@ void GetWorkListDialog::initializeContentWidgets()
|
||||
mErrorLabel->setObjectName("warn");
|
||||
mErrorLabel->setWordWrap(true);
|
||||
mErrorLabel->hide();
|
||||
mBtnWidget->setFixedHeight(80);
|
||||
}
|
||||
|
||||
void GetWorkListDialog::search(const QString& aInput)
|
||||
@@ -181,6 +182,7 @@ void GetWorkListDialog::handleFinishedAction(const ActionResult& aResult)
|
||||
mContentWidget->show();
|
||||
mBtnWidget->show();
|
||||
mErrorLabel->show();
|
||||
mLoadingWidget->hide();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user