diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-12 16:22:21 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-12 16:22:21 +0800 |
commit | 204554e2a245ff88a07d83c70737f08457d7ec7f (patch) | |
tree | b5a7cf9443f3ed52ed086bda9025d1889c81c815 | |
parent | 44160450e77455321084a7d89dddb9b2afe0dcf5 (diff) |
Embedded Roboto conflicted with system's
-rw-r--r-- | GridCardItem.ui.qml | 13 |
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 |