diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-06-15 09:09:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-15 09:09:36 +0200 |
commit | 139c490a1aa14d04d84d9ca8afeaae677b784dda (patch) | |
tree | 38c83f273bfb043769dec74b1ea0d43cf53b8806 | |
parent | 3d1b8ee56a6263250017b92c212c65644799b5a8 (diff) | |
parent | f818a99d0b290319665f0cfb4f7024b451fd78aa (diff) |
Merge pull request #39535 from Calinou/doc-viewportcontainer-size
Document how to resize a SubViewportContainer to avoid stretching
-rw-r--r-- | doc/classes/SubViewportContainer.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/SubViewportContainer.xml b/doc/classes/SubViewportContainer.xml index e6a0bd4866..16d483e7f8 100644 --- a/doc/classes/SubViewportContainer.xml +++ b/doc/classes/SubViewportContainer.xml @@ -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> |