summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2022-09-25 19:46:09 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2022-09-25 19:46:09 +0700
commitb47025278e13cd0fa6759b0770841e7f66bd8d62 (patch)
tree38912381712ebf3b9c0ea7561f6a54cc32fc3270
parentf70e4437a2564a8a14d0c3c6e7d859142f33c97e (diff)
use font.pixeSize instead of pointSize
-rw-r--r--CardItem.ui.qml6
1 files 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
}
}
}