summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorMax Hilbrunner <mhilbrunner@users.noreply.github.com>2022-10-19 22:06:43 +0200
committerGitHub <noreply@github.com>2022-10-19 22:06:43 +0200
commitc660cc4adc7032c11f74dfce5fcb7b5a02f6d097 (patch)
tree59fee28e417edb01f8384b48f44a1ab401c16d1e /doc/classes
parentee772f109f223a47d9dda0fd3fa32eca2474869d (diff)
parentfd8097192fa36c15866915fd3bed252ea2a5dcbc (diff)
Merge pull request #66410 from RedMser/patch-1
Fix `Control.get_global_rect` documentation
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Control.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/Control.xml b/doc/classes/Control.xml
index 7968b03c4b..fd77ac8b15 100644
--- a/doc/classes/Control.xml
+++ b/doc/classes/Control.xml
@@ -383,7 +383,7 @@
<method name="get_global_rect" qualifiers="const">
<return type="Rect2" />
<description>
- Returns the position and size of the control relative to the top-left corner of the screen. See [member position] and [member size].
+ Returns the position and size of the control relative to the [CanvasLayer]. See [member global_position] and [member size].
</description>
</method>
<method name="get_minimum_size" qualifiers="const">
@@ -999,7 +999,7 @@
If this property is not set, Godot will select a "best guess" based on surrounding nodes in the scene tree.
</member>
<member name="global_position" type="Vector2" setter="_set_global_position" getter="get_global_position">
- The node's global position, relative to the world (usually to the top-left corner of the window).
+ The node's global position, relative to the world (usually to the [CanvasLayer]).
</member>
<member name="grow_horizontal" type="int" setter="set_h_grow_direction" getter="get_h_grow_direction" enum="Control.GrowDirection" default="1">
Controls the direction on the horizontal axis in which the control should grow if its horizontal minimum size is changed to be greater than its current size, as the control always has to be at least the minimum size.