From 0ba577ecf80b043ce75c7bd330fc69f7ea81476b 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: Tue, 27 Sep 2022 11:20:54 +0800 Subject: Roboto Regular for badge --- GridCardItem.ui.qml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'GridCardItem.ui.qml') diff --git a/GridCardItem.ui.qml b/GridCardItem.ui.qml index 586ac8c..1ecfd82 100644 --- a/GridCardItem.ui.qml +++ b/GridCardItem.ui.qml @@ -83,11 +83,21 @@ Item { left: parent.left verticalCenter: parent.verticalCenter } + + FontLoader { + id: roboto + name: "Roboto" + source: "Roboto-Regular.ttf" + } + Label { id: badgeLabel text: badgeText color: badgeColor - font.pixelSize: 13 + font { + family: roboto.name + pixelSize: 13 + } anchors.centerIn: parent } } -- cgit v1.2.3