From f818a99d0b290319665f0cfb4f7024b451fd78aa Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sun, 14 Jun 2020 15:25:29 +0200 Subject: [PATCH] Document how to resize a SubViewportContainer to avoid stretching This closes #27534. --- doc/classes/SubViewportContainer.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/SubViewportContainer.xml b/doc/classes/SubViewportContainer.xml index e6a0bd48667..16d483e7f8d 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).