button.titleEdgeInsets = UIEdgeInsets(top: 0, left: 18, bottom: 0, right: 18) button.titleEdgeInsets.pin.top(10).height(36).hCenter().sizeToFit(.height) Not work! How to make it count UIEdgeInsets? Thank you.
button.titleEdgeInsets = UIEdgeInsets(top: 0, left: 18, bottom: 0, right: 18)
button.titleEdgeInsets.pin.top(10).height(36).hCenter().sizeToFit(.height)
Not work!
How to make it count UIEdgeInsets?
Thank you.