diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-06-14 15:25:29 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-06-14 15:26:51 +0200 |
commit | f818a99d0b290319665f0cfb4f7024b451fd78aa (patch) | |
tree | 059ea8e7c7695a4bee3a00e7e25c71d4cdd0b9cd /doc/classes | |
parent | 79947dfef1db52462ce25f370696e3eb926fa627 (diff) |
Document how to resize a SubViewportContainer to avoid stretching
This closes #27534.
Diffstat (limited to 'doc/classes')
-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> |