buttonEdgeInset buttonExtion to change titleEdgeInset and imageEdgeInset you can easily adjust edge by using code: button.updateButtonImagePostion(ButtonImagePosition.ButtonImageRight, space: 0)