summaryrefslogtreecommitdiff
path: root/components/IText.qml
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-10-04 19:56:22 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-10-04 19:56:22 +0800
commit6188faad828bdfabc4932098a3b07ea708fff538 (patch)
treee9cfcca0e37bd02a6ae12be768dbb459419b7eb6 /components/IText.qml
parent0bdef4d722e947922b963ef42fdcc16dc1d7b1df (diff)
style: columnLayout
Diffstat (limited to 'components/IText.qml')
-rw-r--r--components/IText.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/IText.qml b/components/IText.qml
index 416fd40..d926e02 100644
--- a/components/IText.qml
+++ b/components/IText.qml
@@ -10,6 +10,7 @@ Text {
property bool animate: false
property real animateFrom: 0
property real animateTo: 1
+ property real fontSize: Style.font.size.larger
renderType: Text.NativeRendering // or Text.CurveRendering(much more expansive) or Text.QtRendering for faster
textFormat: Text.PlainText
@@ -20,7 +21,7 @@ Text {
font {
family: Style.font.family.iosevka
// pointSize: root.pixelSize
- pixelSize: Style.font.size.larger
+ pixelSize: fontSize
}
Behavior on color {