Skip to content

Commit d60c580

Browse files
authored
Merge pull request godotengine#8927 from idlist/patch-1
Update C# API in the code example of "Custom GUI controls"
2 parents 5c926b5 + fecc91f commit d60c580

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)