From 204554e2a245ff88a07d83c70737f08457d7ec7f Mon Sep 17 00:00:00 2001 From: ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ 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.3