![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | mehmet432 |
So, there is a TextureRect that i have in a ViewportContainer that also contains a 2D Camera. All the other elements resize and relocate based on the window size and anchored to specific locations, but i couldn’t find how to make TextureRect rescale.
Changing to “Full Rect” in layout options of ViewportContainer doesn’t work.
See: https://forum.godotengine.org/130715/adjusting-background-to-window-size
This might answer your question
TheNormandyProject | 2023-02-24 02:40