summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-02-11 14:37:54 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-02-11 14:37:54 +0100
commitab2952580ce4f70bc2f95ad6eb3f749c00c3e7a4 (patch)
treed357ea27ca6c04e5e6daa0eec65977fbf42280b9 /doc/classes
parentbd92f124f796a065c28080d0ef81c138b2a03526 (diff)
parent593598c592566249c39c458280aca1f796cb958d (diff)
Merge pull request #73040 from Rindbee/popup_centered_consider_current_size
Calling popup_center* with the default size will use the current size
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Window.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/classes/Window.xml b/doc/classes/Window.xml
index 14e705a7e6..92050eaa34 100644
--- a/doc/classes/Window.xml
+++ b/doc/classes/Window.xml
@@ -358,6 +358,7 @@
<description>
Popups the [Window] at the center of the current screen, with optionally given minimum size.
If the [Window] is embedded, it will be centered in the parent [Viewport] instead.
+ [b]Note:[/b] Calling it with the default value of [param minsize] is equivalent to calling it with [member size].
</description>
</method>
<method name="popup_centered_clamped">
@@ -367,6 +368,7 @@
<description>
Popups the [Window] centered inside its parent [Window].
[code]fallback_ratio[/code] determines the maximum size of the [Window], in relation to its parent.
+ [b]Note:[/b] Calling it with the default value of [param minsize] is equivalent to calling it with [member size].
</description>
</method>
<method name="popup_centered_ratio">