mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
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:
parent
38b1b7d951
commit
0d023068b3
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue