PinLayout
PinLayout copied to clipboard
How to set the width of a button element with UIEdgeInsets?
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.