Adjust subviewport resolution to fit in a UI node

Godot Version

4.3

Question

Hi, I’m using a Subviewport to render scenes on a UI panel but I cannot achieve to fit the scene into the subviewport container space (I don’t know if this is even possible).

The subviewport container stretch is true

My viewport size is 640x360 but the panel size where I use the Subviewport is the half as you can see in the following images:

This is the main UI scene where I want to render it

This is the scene I want to render in that space that uses all the viewport size:

I solved it using the Subviewport 2D size override & stretch