ControlSetSize Method |
Sets the size (see RectSize).
If keep_margins is true, control's anchors will be updated instead of margins.
Namespace: Godot
public void SetSize( Vector2 size, bool keepMargins = false )
[Missing <param name="size"/> documentation for "M:Godot.Control.SetSize(Godot.Vector2,System.Boolean)"]
[Missing <param name="keepMargins"/> documentation for "M:Godot.Control.SetSize(Godot.Vector2,System.Boolean)"]