修改ukcc插件UI问题。

This commit is contained in:
iaom 2022-06-06 11:26:55 +08:00
parent 4eb89f71f3
commit 1e3e169e16
1 changed files with 2 additions and 1 deletions

View File

@ -213,7 +213,8 @@ void Search::initUi()
// border-radius: 4px;}").arg(stringColor)); // border-radius: 4px;}").arg(stringColor));
m_addBlockDirWidget->setProperty("useButtonPalette", true); m_addBlockDirWidget->setProperty("useButtonPalette", true);
m_addBlockDirWidget->setStyleSheet("QPushButton:!checked{background: palette(base);}"); // m_addBlockDirWidget->setStyleSheet("QPushButton:!checked{background: palette(base);}");
m_addBlockDirWidget->setFlat(true);
m_addBlockDirIcon = new QLabel(m_addBlockDirWidget); m_addBlockDirIcon = new QLabel(m_addBlockDirWidget);
m_addBlockDirIcon->setPixmap(QIcon("/usr/share/ukui-search/search-ukcc-plugin/image/add.svg").pixmap(12, 12)); m_addBlockDirIcon->setPixmap(QIcon("/usr/share/ukui-search/search-ukcc-plugin/image/add.svg").pixmap(12, 12));