Qt: Fix search bar widget spacing
With setMargin(0), the widgets look awkwardly close to the window edges
This commit is contained in:
1 parent
8d0c15bb97
commit
752098de22
1 file changed
+1
-1
@@ -30,7 +30,7 @@ void SearchBar::CreateWidgets()
|
||||
|
||||
layout->addWidget(m_search_edit);
|
||||
layout->addWidget(m_close_button);
|
||||
layout->setMargin(0);
|
||||
layout->setSizeConstraint(QLayout::SetMinAndMaxSize);
|
||||
|
||||
setLayout(layout);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user