From b47025278e13cd0fa6759b0770841e7f66bd8d62 Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Sun, 25 Sep 2022 19:46:09 +0700 Subject: use font.pixeSize instead of pointSize --- CardItem.ui.qml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CardItem.ui.qml b/CardItem.ui.qml index 138ed01..e1b1929 100644 --- a/CardItem.ui.qml +++ b/CardItem.ui.qml @@ -10,7 +10,7 @@ Rectangle { id: image source: "darapsa.svg" sourceSize.width: parent.width - sourceSize.height: 224 + sourceSize.height: 225 } Item { @@ -33,6 +33,7 @@ Rectangle { Label { text: qsTr("Beginner") + font.pixelSize:12 anchors { verticalCenter: parent.verticalCenter left: parent.left @@ -65,7 +66,7 @@ Rectangle { rightMargin: 16 } font.weight: Font.Bold - font.pointSize: 16 + font.pixelSize: 24 } Label { @@ -82,6 +83,7 @@ Rectangle { right: parent.right rightMargin: 16 } + font.pixelSize: 14 } } } -- cgit v1.2.3