Control.setAnchorsPreset

Sets the anchors to a preset from Control.layoutpreset enum. This is the code equivalent to using the Layout menu in the 2D editor. If keep_margins is true, control's position will also be updated.

struct Control
@nogc nothrow
void
setAnchorsPreset
(
in long preset
,
in bool keep_margins = false
)

Meta