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 <jlmulder@xs4all.nl>
This commit is contained in:
Jan Mulder 2017-11-13 20:04:59 +01:00 committed by Dirk Hohndel
parent 38b1b7d951
commit 0d023068b3

View file

@ -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