Function Control.setAnchorAndMargin

Works the same as setAnchor, but instead of keep_margin argument and automatic update of margin, it allows to set the margin offset yourself (see setMargin).

void setAnchorAndMargin (
  const(long) margin,
  const(double) anchor,
  const(double) offset,
  const(bool) push_opposite_anchor = false
) nothrow @nogc;