From 204554e2a245ff88a07d83c70737f08457d7ec7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Sun, 12 Feb 2023 16:22:21 +0800 Subject: Embedded Roboto conflicted with system's --- GridCardItem.ui.qml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3