Merge branch '0601ukss' into 'ukss-dev'

Fix#114739 modify the right margin of the ukcc plugin.

See merge request kylin-desktop/ukui-search!330
This commit is contained in:
PengfeiZhang 2022-06-14 11:19:36 +00:00
commit 0e952c7cde
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ void Search::initUi()
//设置网页搜索引擎部分的ui //设置网页搜索引擎部分的ui
//~ contents_path /Search/Default web searching engine //~ contents_path /Search/Default web searching engine
m_webEngineFrame = new ComboxFrame(tr("Default web searching engine"), m_searchMethodFrame); m_webEngineFrame = new ComboxFrame(tr("Default web searching engine"), m_searchMethodFrame);
m_webEngineFrame->setContentsMargins(8, 0, 16, 0); m_webEngineFrame->setContentsMargins(8, 0, 8, 0);// ComboxFrame右侧自带8的边距左右边距各是16所以分别设为8
m_webEngineFrame->setFixedHeight(56); m_webEngineFrame->setFixedHeight(56);
m_webEngineFrame->setMinimumWidth(550); m_webEngineFrame->setMinimumWidth(550);
m_webEngineFrame->mCombox->insertItem(0, QIcon("/usr/share/ukui-search/search-ukcc-plugin/image/baidu.svg"), tr("baidu"), "baidu"); m_webEngineFrame->mCombox->insertItem(0, QIcon("/usr/share/ukui-search/search-ukcc-plugin/image/baidu.svg"), tr("baidu"), "baidu");