From 2b86c458bfc1ad093bc2dbc2847baa6f07391e1c Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Thu, 4 Aug 2022 17:11:32 -0300 Subject: Fix some bugs with `Window`s --- doc/classes/Window.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc') 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 @@ 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]. 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. Set's the window's current mode. @@ -388,7 +390,7 @@ If [code]true[/code], the window is visible. - 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. -- cgit v1.2.3