summaryrefslogtreecommitdiff
path: root/doc/classes/Control.xml
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-14 23:35:30 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-14 23:35:30 +0100
commit6dd6a00f9f24c6179c98b9a4d3f62a16d2e12a90 (patch)
tree32aed0e2d77cc0e0ca7a30686fc11639f7651409 /doc/classes/Control.xml
parent03f30855d1f054ed2d944422fa0e55b6cdb56fef (diff)
parentb6b6c5107a739fe7354ed7bd8aea1823d7637a30 (diff)
Merge pull request #68667 from Piralein/fix-broken-link-classref
Update document-links in classref
Diffstat (limited to 'doc/classes/Control.xml')
-rw-r--r--doc/classes/Control.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Control.xml b/doc/classes/Control.xml
index e1dd2819b2..2159001a30 100644
--- a/doc/classes/Control.xml
+++ b/doc/classes/Control.xml
@@ -1048,7 +1048,7 @@
</member>
<member name="scale" type="Vector2" setter="set_scale" getter="get_scale" default="Vector2(1, 1)">
The node's scale, relative to its [member size]. Change this property to scale the node around its [member pivot_offset]. The Control's [member tooltip_text] will also scale according to this value.
- [b]Note:[/b] This property is mainly intended to be used for animation purposes. Text inside the Control will look pixelated or blurry when the Control is scaled. To support multiple resolutions in your project, use an appropriate viewport stretch mode as described in the [url=$DOCS_URL/tutorials/viewports/multiple_resolutions.html]documentation[/url] instead of scaling Controls individually.
+ [b]Note:[/b] This property is mainly intended to be used for animation purposes. Text inside the Control will look pixelated or blurry when the Control is scaled. To support multiple resolutions in your project, use an appropriate viewport stretch mode as described in the [url=$DOCS_URL/tutorials/rendering/multiple_resolutions.html]documentation[/url] instead of scaling Controls individually.
[b]Note:[/b] If the Control node is a child of a [Container] node, the scale will be reset to [code]Vector2(1, 1)[/code] when the scene is instantiated. To set the Control's scale when it's instantiated, wait for one frame using [code]await get_tree().process_frame[/code] then set its [member scale] property.
</member>
<member name="shortcut_context" type="Node" setter="set_shortcut_context" getter="get_shortcut_context">