From 7073a7e701acf6ef2505832a82678b61463edae3 Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Sun, 25 Sep 2022 20:11:52 +0700 Subject: using point size due to android uses display point instead of pixel. Title's font size now uses H6 instead of H5 --- CardItem.ui.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CardItem.ui.qml b/CardItem.ui.qml index e1b1929..42fab21 100644 --- a/CardItem.ui.qml +++ b/CardItem.ui.qml @@ -33,7 +33,7 @@ Rectangle { Label { text: qsTr("Beginner") - font.pixelSize:12 + font.pointSize:12 anchors { verticalCenter: parent.verticalCenter left: parent.left @@ -65,8 +65,8 @@ Rectangle { right: parent.right rightMargin: 16 } - font.weight: Font.Bold - font.pixelSize: 24 + font.weight: Font.Medium + font.pointSize: 20 } Label { @@ -83,7 +83,7 @@ Rectangle { right: parent.right rightMargin: 16 } - font.pixelSize: 14 + font.pointSize: 14 } } } -- cgit v1.2.3