mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Qt: Fix search bar widget spacing
With setMargin(0), the widgets look awkwardly close to the window edges
This commit is contained in:
@ -30,7 +30,7 @@ void SearchBar::CreateWidgets()
|
|||||||
|
|
||||||
layout->addWidget(m_search_edit);
|
layout->addWidget(m_search_edit);
|
||||||
layout->addWidget(m_close_button);
|
layout->addWidget(m_close_button);
|
||||||
layout->setMargin(0);
|
layout->setSizeConstraint(QLayout::SetMinAndMaxSize);
|
||||||
|
|
||||||
setLayout(layout);
|
setLayout(layout);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user