fix the incorrect display of the ukcc search plugin.

This commit is contained in:
baijunjie 2021-11-11 15:44:39 +08:00 committed by iaom
parent e1d4e9e25f
commit e3107cd729
1 changed files with 2 additions and 0 deletions

View File

@ -187,6 +187,8 @@ void Search::initUi()
//~ contents_path /Search/Block Folders
m_blockDirTitleLabel->setText(tr("Block Folders"));
m_blockDirDescLabel = new QLabel(m_pluginWidget);
m_blockDirDescLabel->setContentsMargins(16, 0, 0, 0); //TitleLabel自带16边距,QLabel需要自己设
m_blockDirDescLabel->setEnabled(false);
m_blockDirDescLabel->setWordWrap(true);
m_blockDirDescLabel->setText(tr("Following folders will not be searched. You can set it by adding and removing folders."));