Grow Qml Text uniformly from the center when animating font.pixelSize
Andreas Schacherbauer last edited by
Hi, when I animate the
font.pixelSizeproperty of a Qml Text object, it grows from the upper left corner to the lower right. But I want it to grow uniformly from the center in all directions. Is there a setting to do this without changing x and y position of the text?
don't use x or y for positioning, use
anchors.centerIn: parent, that should do the trick