Godot Version
4.6
Question
When trying to get a contained panel’s size it always returns its initial custom minimum / ?initial size?
In the Inspector i can see its size dynamically change, but its not really the case when it comes to panel.size
get_global_rect() also didnt work
Maybe, maybe maybe the spider is a guy like anyone else, you ever think about that? maybe i am trying to solve the “problem” thats already had been solved / can be solved much simpler way. all i want is my poor little fella to dynamically scale along its X to look normal
Can we see the code where you are trying to get the size? If you’re calling that in the _ready function, it’s possible that the GUI didn’t finish resizing yet, so you get it’s original size back before it was resized, if it’s in a container of some kind. It’s hard to tell based on your screenshots.
What looks “normal”? Can you mock up what it should look like?
as the size.y of the image scales (because of the text goes big big large) - the its size.x remains the same(but it shouldnt). basically, custom_minimum_size.x = size.y
yup, that was it. sorry for interrupting you, beautiful people