Qt: Fix search bar widget spacing
With setMargin(0), the widgets look awkwardly close to the window edges
This commit is contained in:
parent
8d0c15bb97
commit
752098de22
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue