mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
Qt/macOS: Fix mapping buttons not being round
This commit is contained in:
parent
bdfd331355
commit
102d469f9e
@ -51,7 +51,9 @@ MappingButton::MappingButton(MappingWidget* widget, ControlReference* ref, bool
|
||||
int height = QFontMetrics(qApp->font()).height() + 2 * VERTICAL_PADDING;
|
||||
|
||||
setMinimumHeight(height);
|
||||
setMaximumHeight(height);
|
||||
|
||||
// macOS needs some wiggle room to always get round buttons
|
||||
setMaximumHeight(height + 8);
|
||||
|
||||
// Make sure that long entries don't throw our layout out of whack
|
||||
setMaximumWidth(115);
|
||||
|
Loading…
x
Reference in New Issue
Block a user