PinLayout icon indicating copy to clipboard operation
PinLayout copied to clipboard

How to set the width of a button element with UIEdgeInsets?

Open kirill404 opened this issue 2 years ago • 0 comments

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.

kirill404 avatar Jan 29 '22 09:01 kirill404