summaryrefslogtreecommitdiff
path: root/CardItem.ui.qml
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2022-09-25 20:11:52 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2022-09-25 20:11:52 +0700
commit7073a7e701acf6ef2505832a82678b61463edae3 (patch)
tree58416b54fa6eb8927f95581c8f447cce9becd183 /CardItem.ui.qml
parentb47025278e13cd0fa6759b0770841e7f66bd8d62 (diff)
using point size due to android uses display point instead of pixel. Title's font size now uses H6 instead of H5
Diffstat (limited to 'CardItem.ui.qml')
-rw-r--r--CardItem.ui.qml8
1 files 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
}
}
}