Panels keep increasing in size every time I run a scene - eviltoast

I had this issue back in Godot 3.5 and hoped that it’d be gone, but Panels and some other Control Nodes still resize magically when executing another scene. This is such weird behaviour, that I have no idea where it might come from. Has anyone ever seen such a thing happen before? Here is a video of the bug in acton: https://piped.kavin.rocks/watch?v=79DYDT5qngk

  • Feyter@programming.devM
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    This is just a guess but it could be that (re)setting the texture of an control node May also reset it’s size since I think it tries to stick as close as possible on the original texture resolution.

    Is the size a different when you set it to a different texture? Maybe the same image but with lower res?

    • Smorty [she/her]@lemmy.blahaj.zoneOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Clever thought, but no, the code doesn’t change any of those textures, it just changes the character portrait and the background image, which both don’t mess up anything. They are still where they are supposed to be. Thank you either way!