summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--GridCardItem.ui.qml13
1 files changed, 12 insertions, 1 deletions
diff --git a/GridCardItem.ui.qml b/GridCardItem.ui.qml
index f20dfe6..346b3c6 100644
--- a/GridCardItem.ui.qml
+++ b/GridCardItem.ui.qml
@@ -102,7 +102,18 @@ Item {
text: badgeText
color: badgeColor
font {
- family: roboto.name
+ family: Qt.platform.os
+ == "android" ||
+ Qt.platform.os
+ == "linux" ||
+ Qt.platform.os
+ == "osx" ||
+ Qt.platform.os
+ == "unix" ||
+ Qt.platform.os
+ == "windows"
+ ? "Roboto"
+ : roboto.name
pixelSize: 13
}
anchors.centerIn: parent