diff options
author | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2022-10-04 21:53:18 +0200 |
---|---|---|
committer | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2023-01-31 22:53:43 +0100 |
commit | decbda68d7067d597698908f53fceebc3247dfcd (patch) | |
tree | c0baf53f9b90803aed252822b454369c98f25b3b /doc/classes/SubViewportContainer.xml | |
parent | 0056acf46fc88757cae9d9f6fe9805f0eec1cd09 (diff) |
Prohibit inconsistent size state for SubViewport
Prohibit size changes of SubViewports with parent SubViewportContainers that have stretch mode enabled.
Diffstat (limited to 'doc/classes/SubViewportContainer.xml')
-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 77aa7e3ff4..11137222a9 100644 --- a/doc/classes/SubViewportContainer.xml +++ b/doc/classes/SubViewportContainer.xml @@ -13,6 +13,7 @@ <members> <member name="stretch" type="bool" setter="set_stretch" getter="is_stretch_enabled" default="false"> If [code]true[/code], the sub-viewport will be automatically resized to the control's size. + [b]Note:[/b] If [code]true[/code], this will prohibit changing [member SubViewport.size] of its children manually. </member> <member name="stretch_shrink" type="int" setter="set_stretch_shrink" getter="get_stretch_shrink" default="1"> Divides the sub-viewport's effective resolution by this value while preserving its scale. This can be used to speed up rendering. |