ControlSetAnchorsAndMarginsPreset Method |
Sets both anchor preset and margin preset. See SetAnchorsPreset(ControlLayoutPreset, Boolean) and SetMarginsPreset(ControlLayoutPreset, ControlLayoutPresetMode, Int32).
Namespace: Godot
public void SetAnchorsAndMarginsPreset( ControlLayoutPreset preset, ControlLayoutPresetMode resizeMode = ControlLayoutPresetMode.Minsize, int margin = 0 )
[Missing <param name="preset"/> documentation for "M:Godot.Control.SetAnchorsAndMarginsPreset(Godot.Control.LayoutPreset,Godot.Control.LayoutPresetMode,System.Int32)"]
[Missing <param name="resizeMode"/> documentation for "M:Godot.Control.SetAnchorsAndMarginsPreset(Godot.Control.LayoutPreset,Godot.Control.LayoutPresetMode,System.Int32)"]
[Missing <param name="margin"/> documentation for "M:Godot.Control.SetAnchorsAndMarginsPreset(Godot.Control.LayoutPreset,Godot.Control.LayoutPresetMode,System.Int32)"]