<div dir="ltr"><div>Smaller event icons fit the mobile display much nicer<br><br>Signed-off-by: Rick Walsh <<a href="mailto:rickmwalsh@gmail.com">rickmwalsh@gmail.com</a>><br>---<br><br></div>I've attached before and after screenshots.<br><div><br> profile-widget/diveeventitem.cpp | 4 ++++<br> 1 file changed, 4 insertions(+)<br><br>diff --git a/profile-widget/diveeventitem.cpp b/profile-widget/diveeventitem.cpp<br>index 083c8b5..1986015 100644<br>--- a/profile-widget/diveeventitem.cpp<br>+++ b/profile-widget/diveeventitem.cpp<br>@@ -63,7 +63,11 @@ void DiveEventItem::setEvent(struct event *ev)<br> void DiveEventItem::setupPixmap()<br> {<br>     const IconMetrics& metrics = defaultIconMetrics();<br>+#ifndef SUBSURFACE_MOBILE<br>     int sz_bigger = metrics.sz_med + metrics.sz_small; // ex 40px<br>+#else<br>+    int sz_bigger = metrics.sz_med;<br>+#endif<br>     int sz_pix = sz_bigger/2; // ex 20px<br> <br> #define EVENT_PIXMAP(PIX) QPixmap(QString(PIX)).scaled(sz_pix, sz_pix, Qt::KeepAspectRatio, Qt::SmoothTransformation)<br>-- <br>2.5.0<br><br><br></div></div>