|Topic was automatically imported from the old Question2Answer platform.
I have the following node structure:
-- ...unrelated nodes like player's sprite etc....
HBoxContainer is setup to expand it’s children horizontally and this part works fine, Panel is automatically resized to take up all available space in container.
I want to make container to automatically change it’s horizontal size to the viewport ones, so that the Panel occupies all screen width. Any idea how to do that?