修改ukcc插件UI问题。
This commit is contained in:
parent
4eb89f71f3
commit
1e3e169e16
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue