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

This commit is contained in:
Maomao43803 2022-06-14 14:02:28 +08:00
parent 1939d5b865
commit df324d19f4
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ void Search::initUi()
//设置网页搜索引擎部分的ui
//~ contents_path /Search/Default web searching engine
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->setMinimumWidth(550);
m_webEngineFrame->mCombox->insertItem(0, QIcon("/usr/share/ukui-search/search-ukcc-plugin/image/baidu.svg"), tr("baidu"), "baidu");