From 733d0a8e744217e42119f8da7fd0af71a9faa3d7 Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 29 Apr 2015 17:16:48 -0300 Subject: [PATCH] Minor fix in ButtonSet --- src/app/ui/button_set.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/ui/button_set.cpp b/src/app/ui/button_set.cpp index 52deedc10..b4dcea942 100644 --- a/src/app/ui/button_set.cpp +++ b/src/app/ui/button_set.cpp @@ -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()); }