Skip to content

Commit fecc91f

Browse files
authored
Update to newer CustomMinimumSize API
1 parent 5c926b5 commit fecc91f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/ui/custom_gui_controls.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Alternatively, set it using a function:
107107

108108
public override void _Ready()
109109
{
110-
SetCustomMinimumSize(new Vector2(20, 20));
110+
CustomMinimumSize = new Vector2(20, 20);
111111
}
112112

113113
Input

0 commit comments

Comments
 (0)