summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-12 16:22:21 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-12 16:22:21 +0800
commit204554e2a245ff88a07d83c70737f08457d7ec7f (patch)
treeb5a7cf9443f3ed52ed086bda9025d1889c81c815
parent44160450e77455321084a7d89dddb9b2afe0dcf5 (diff)
Embedded Roboto conflicted with system's
-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