From f818a99d0b290319665f0cfb4f7024b451fd78aa Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sun, 14 Jun 2020 15:25:29 +0200 Subject: Document how to resize a SubViewportContainer to avoid stretching This closes #27534. --- doc/classes/SubViewportContainer.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'doc') 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 @@ 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). -- cgit v1.2.3