From 0d023068b340bea8db421523156b5b460eaea41d Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Mon, 13 Nov 2017 20:04:59 +0100 Subject: mobile: icon size in profile Size the event item icons in the profile a little bigger. Obviously, how big is big enhough is upto personal taste, but on Github a screendump is added to show the new size. Fixes: #310 Signed-off-by: Jan Mulder --- profile-widget/diveeventitem.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'profile-widget') diff --git a/profile-widget/diveeventitem.cpp b/profile-widget/diveeventitem.cpp index b939c4ff8..bb9350a2f 100644 --- a/profile-widget/diveeventitem.cpp +++ b/profile-widget/diveeventitem.cpp @@ -71,7 +71,9 @@ void DiveEventItem::setupPixmap() // on iOS devices we need to adjust for Device Pixel Ratio int sz_bigger = metrics.sz_med * metrics.dpr; #else - int sz_bigger = metrics.sz_med; + // SUBSURFACE_MOBILE, seems a little big from the code, + // but looks fine on device + int sz_bigger = metrics.sz_big + metrics.sz_med; #endif #endif int sz_pix = sz_bigger/2; // ex 20px -- cgit v1.2.3-70-g09d2