mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-05 21:57:20 +00:00
Minor fix in ButtonSet
This commit is contained in:
parent
562df34f40
commit
733d0a8e74
@ -145,7 +145,7 @@ void ButtonSet::Item::onPreferredSize(ui::PreferredSizeEvent& ev)
|
||||
|
||||
Grid::Info info = buttonSet()->getChildInfo(this);
|
||||
if (info.row == info.grid_rows-1)
|
||||
sz.h += 3;
|
||||
sz.h += 3*guiscale();
|
||||
|
||||
ev.setPreferredSize(sz*guiscale());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user