From 6188faad828bdfabc4932098a3b07ea708fff538 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sat, 4 Oct 2025 19:56:22 +0800 Subject: style: columnLayout --- components/IText.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'components/IText.qml') 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 { -- cgit v1.2.3