mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 06:39:14 +01:00
Qt: Reduce spacing between toolbar actions
This commit is contained in:
parent
b05207325d
commit
8dcd5cdd1d
@ -75,7 +75,7 @@ void ToolBar::MakeActions()
|
||||
std::transform(items.begin(), items.end(), std::back_inserter(widths),
|
||||
[](QWidget* item) { return item->sizeHint().width(); });
|
||||
|
||||
const int min_width = *std::max_element(widths.begin(), widths.end());
|
||||
const int min_width = *std::max_element(widths.begin(), widths.end()) * 0.85;
|
||||
for (QWidget* widget : items)
|
||||
widget->setMinimumWidth(min_width);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user