diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2018-03-24 18:08:34 +0100 |
|---|---|---|
| committer | Léo Lam <leo@innovatetechnologi.es> | 2018-03-24 18:09:46 +0100 |
| commit | 752098de22173e72daa2aceac22a84d38effc01c (patch) | |
| tree | a8860bfd2b16820510480e6bc3d2e88e614c0d91 /Source/Core | |
| parent | 8d0c15bb974050db966407e2d9e77ec824f4c1e7 (diff) | |
Qt: Fix search bar widget spacing
With setMargin(0), the widgets look awkwardly close to the window edges
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinQt2/SearchBar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt2/SearchBar.cpp b/Source/Core/DolphinQt2/SearchBar.cpp index 27ed057f52..71b38bf92f 100644 --- a/Source/Core/DolphinQt2/SearchBar.cpp +++ b/Source/Core/DolphinQt2/SearchBar.cpp @@ -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); } |
