diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-08-08 10:34:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-08 10:34:08 +0200 |
commit | a8a4982de2b47453635cd408bbdaeef016b8a8f7 (patch) | |
tree | b5a3f6640405ba674abe3db663b812cdd1513c85 /doc/classes | |
parent | f940578d2b777ccb957c56ec1d5e3c211e727b9a (diff) | |
parent | 2b86c458bfc1ad093bc2dbc2847baa6f07391e1c (diff) |
Merge pull request #63925 from YeldhamDev/window_fixes
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Window.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/classes/Window.xml b/doc/classes/Window.xml index f4eaaac2e1..84f3b6a4b1 100644 --- a/doc/classes/Window.xml +++ b/doc/classes/Window.xml @@ -344,9 +344,11 @@ </member> <member name="max_size" type="Vector2i" setter="set_max_size" getter="get_max_size" default="Vector2i(0, 0)"> If non-zero, the [Window] can't be resized to be bigger than this size. + [b]Note:[/b] This property will be ignored if the value is lower than [member min_size]. </member> <member name="min_size" type="Vector2i" setter="set_min_size" getter="get_min_size" default="Vector2i(0, 0)"> If non-zero, the [Window] can't be resized to be smaller than this size. + [b]Note:[/b] This property will be ignored in favor of [method get_contents_minimum_size] if [member wrap_controls] is enabled and if its size is bigger. </member> <member name="mode" type="int" setter="set_mode" getter="get_mode" enum="Window.Mode" default="0"> Set's the window's current mode. @@ -388,7 +390,7 @@ If [code]true[/code], the window is visible. </member> <member name="wrap_controls" type="bool" setter="set_wrap_controls" getter="is_wrapping_controls" default="false"> - If [code]true[/code], the window's size will automatically update when a child node is added or removed. + If [code]true[/code], the window's size will automatically update when a child node is added or removed, ignoring [member min_size] if the new size is bigger. If [code]false[/code], you need to call [method child_controls_changed] manually. </member> </members> |