How to change font.pointSize with animation?
-
wrote on 12 Mar 2020, 14:45 last edited by
I need this Text to change the size value every 10 seconds with animation.
Text {
id: time
x: 765
y: 15
color: "#fff"
font.pointSize: 25
visible:true
} -
I need this Text to change the size value every 10 seconds with animation.
Text {
id: time
x: 765
y: 15
color: "#fff"
font.pointSize: 25
visible:true
}@Mayron https://doc.qt.io/qt-5/qml-qtquick-animation.html maybe?
Text { id: time x: 765 y: 15 color: "#fff" font.pointSize: 25 NumberAnimation on font.pointSize { running: myMouse.pressed from: 8; to: 25 } visible:true }
You would need to change running: part.
-
@Mayron https://doc.qt.io/qt-5/qml-qtquick-animation.html maybe?
Text { id: time x: 765 y: 15 color: "#fff" font.pointSize: 25 NumberAnimation on font.pointSize { running: myMouse.pressed from: 8; to: 25 } visible:true }
You would need to change running: part.
1/3