Merge pull request #8927 from idlist/patch-1

Update C# API in the code example of "Custom GUI controls"

(cherry picked from commit d60c580d17)
This commit is contained in:
Max Hilbrunner
2024-02-08 17:29:19 +01:00
committed by Max Hilbrunner
parent ba15826235
commit c8ac2cb200

View File

@@ -107,7 +107,7 @@ Alternatively, set it using a function:
public override void _Ready()
{
SetCustomMinimumSize(new Vector2(20, 20));
CustomMinimumSize = new Vector2(20, 20);
}
Input