Document how to resize a SubViewportContainer to avoid stretching

This closes #27534.
This commit is contained in:
Hugo Locurcio 2020-06-14 15:25:29 +02:00
parent 79947dfef1
commit f818a99d0b
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@
</brief_description> </brief_description>
<description> <description>
A [Container] node that holds a [SubViewport], automatically setting its size. A [Container] node that holds a [SubViewport], automatically setting its size.
[b]Note:[/b] Changing a SubViewportContainer'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> </description>
<tutorials> <tutorials>
</tutorials> </tutorials>