I have a problem now that I updated to the latest version of Babylon (8.17.0 => 8.25.0), with GUI/GUI editor. I have a gui json that worked perfectly fine before the update, but after the update some texts seem to shift “halfway” to wrong direction in the y axis. This does not effect all the texts, so I guess it might have something to do with parenting. Take a look:
This seems to not happen when the state is initial on the text block, only after I update it with `textBlock.text = ‘something‘`.
Another oddity is that there is flickering on the editor itself. Take a look here in this gif, it shows the movement on the y axis and there is constant jag to the wrong position:
Any idea what might cause this? I will gladly give you the gui json if needed, but it uses custom font and therefore I would need to understand how to share that as well to some tool
Further notice: It seems that when I edit the gui in the official babylonjs gui editor outside of my game’s inspector gui editor, I do not get this wobblyness. It kind of seems that in my game’s gui editor, it almost feels like it is constantly updating something.
When you open the playground, the text will change to “HELP” and you can see that it shifts location, even though the font is not the desired one. When you open the gui editor in that playground, notice that the “HELP” text is then centered correctly. When you search for the “currentDial” element and find it, try to change the y value. It should start wobbling.
Woah thank you! I will try to add that to the json file also soon I guess that is an old property?
Still a bit weirded out by that changing between versions, since it used to work before without that line… But I’m also happy about the resizeToFit, still a bit new to the GUI & editor but I am loving it!