subsurface/mobile-widgets
Dirk Hohndel a7d1dbd013 mobile UI: fix font size breakage on Android
The pointSize() of a font can return -1 if the font was originally specificied
with a pixelSize. Work around this by using QFontInfo to calculate the correct
value.

Additionally, don't use the pointSize() of a font when we can instead use the
calculated size.

This fixes the problem with the missing star ratings on Android.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-02-09 16:45:04 -08:00
..
qml mobile UI: fix alignment issue in dive details view 2020-02-09 12:45:55 -08:00
CMakeLists.txt mobile-widgets: add themeInterface 2020-01-26 16:42:35 -08:00
qmlinterface.cpp mobile/summary: remove dive summary calculation 2020-02-08 10:29:36 -08:00
qmlinterface.h mobile/summary: remove dive summary calculation 2020-02-08 10:29:36 -08:00
qmlmanager.cpp Cleanup: remove exportFunc class 2020-02-09 12:13:18 -08:00
qmlmanager.h mobile-widgets: add oldStatus variable to qmlmanager 2019-12-29 12:20:19 -08:00
themeinterface.cpp mobile UI: fix font size breakage on Android 2020-02-09 16:45:04 -08:00
themeinterface.h mobile-widgets/themeinterface: make most part static 2020-02-03 17:30:15 -08:00