Merge pull request #55151 from Chaosus/control_reset_size

This commit is contained in:
Rémi Verschelde
2021-11-22 16:22:57 +01:00
committed by GitHub
30 changed files with 85 additions and 61 deletions

View File

@@ -720,6 +720,12 @@
Removes a local override for a theme [StyleBox] with the specified [code]name[/code] previously added by [method add_theme_stylebox_override] or via the Inspector dock.
</description>
</method>
<method name="reset_size">
<return type="void" />
<description>
Resets the size to [method get_combined_minimum_size]. This is equivalent to calling [code]set_size(Vector2())[/code] (or any size below the minimum).
</description>
</method>
<method name="set_anchor">
<return type="void" />
<argument index="0" name="side" type="int" enum="Side" />