Function Control.setPosition

Sets the rectPosition to given position. If keep_margins is true, control's anchors will be updated instead of margins.

void setPosition (
  const(Vector2) position,
  const(bool) keep_margins = false
) nothrow @nogc;