summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-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 {