I don’t think there is anything you can do, it’s just a side effect of using bindings to build a GUI, and binding estimates are not synchronized with the rendering. As a result, when you move or resize the window, everything vibrates like elastic until the value "reaches". Something like QML, in widgets you don't get this behavior because the user interface is not built around bindings. In principle, there is a delay associated with the evaluation of each chain of bindings, and as the graphical interface attracts and displays the delay in the distribution of the connecting chain, the first objects from the chain are already in their new locations, while those to the back may be slightly behind distribution steps. And, of course, regardless of whether your window has frames, this has nothing to do with this problem.
Overcoming this will require control over how the signals are processed by the bindings, and I don't think such a thing at present. In principle, the trick is to somehow make the drawing wait until each binding in the chain has been evaluated, and draw between them before another series of evaluations is initiated.
Naturally, the more elements you have, the more changes there will be to cascade them all, making the effect more pronounced. It also depends on how fast your system is - because it determines the delay in evaluating the anchor chain, for example, my system is fast and your sample code does not cause bias. However, while it’s clear that this happens when you resize, the question arises as to why this happens when you simply move the window around. In the end, this should not really change the relative position of the user interface elements in the window. I suspect that this is because these objects are drawn inside the “absolute screen space” from the inside, since you move the window, this leads to a change in the actual absolute positions of each element, even if they remain in the same place relative to the window, which leads to this behavior. Not perfect ... Not only introduces this unwanted visual behavior, but also many additional ratings that seem like unnecessary overhead.
Please note that these are only my vague suspicions, I did not investigate the issue in detail, I hope someone can offer a quick and easy way to handle this. At the moment, I ignore this problem, hoping that it will not be too annoying, given that I focus on software that is not associated with constant changes in the position and geometry of the window;) By the way, although I first saw this in QML, Over the past few years, I have noticed this in other "modern gui." It would be understood that such a framework is moving to slower languages for rapid prototyping in combination with fluid asynchronous non-blocking rendering.