Document how to resize a SubViewportContainer to avoid stretching

This closes #27534.

(cherry picked from commit f818a99d0b)
This commit is contained in:
Hugo Locurcio 2020-06-14 15:25:29 +02:00 committed by Rémi Verschelde
parent d42f332fc7
commit 469c1b5f5e
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@
</brief_description>
<description>
A [Container] node that holds a [Viewport], automatically setting its size.
[b]Note:[/b] Changing a ViewportContainer's [member Control.rect_scale] will cause its contents to appear distorted. To change its visual size without causing distortion, adjust the node's margins instead (if it's not already in a container).
</description>
<tutorials>
</tutorials>