Merge pull request #39535 from Calinou/doc-viewportcontainer-size

Document how to resize a SubViewportContainer to avoid stretching
This commit is contained in:
Rémi Verschelde 2020-06-15 09:09:36 +02:00 committed by GitHub
commit 139c490a1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,7 @@
</brief_description>
<description>
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>
<tutorials>
</tutorials>