Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Wobbly animation. Can this be fixed?
As you can see, the size circle wobbles when animating the width and height.
Anyway to fix this?
@rghvdberg change the width and height in steps of 2 instead of 1.
oh .. animating
scalemakes it very smooth ..
@J.Hilk in my app the change in width will be 2 ..
gonna try anyway ;-)
rghvdberg last edited by rghvdberg
marking this solved
smooth as butter :-)
I suppose you used
You could fix it by setting
anchors.alignWhenCentered(default true) forces centered anchors to align to a whole pixel; if the item being centered has an odd width or height, the item will be positioned on a whole pixel rather than being placed on a half-pixel. This ensures the item is painted crisply. There are cases where this is not desirable, for example when rotating the item jitters may be apparent as the center is rounded.
@GrecKo will try. Thanks!
Works absolutely perfect !