setMargin

fun setMargin(x: Int, y: Int): ControlButtonSettings

You can set margin of the button.

Parameters

x

horizontal margin from the anchor

y

vertical margin from the anchor