Post

Replies

Boosts

Views

Activity

Comment on Replacement for titleEdgeInsets and imageEdgeInsets in UIButton For UIButtonConfiguration
I understand that but these are the descriptions for the properties deprecated: titleEdgeInsets: The inset or outset margins for the rectangle around the button’s title text. imageEdgeInsets: The inset or outset margins for the rectangle around the button’s image. Which don't match the description of imagePadding and titlePadding. For example, the old inset properties allowed for customizing the margins on each side, but padding only allows for setting one value.
Jun ’23
Comment on UIButtonConfiguration Help
I did use attributed strings to try and test it, but the issue was that the button grew bigger and expanded in a UIStackView and took up the entire space instead of staying in one line. Also, I'd love to stick with the deprecated API, but I'm worried that staying might breaking UIButtons in the future if the properties do get removed and I'm trying to be proactive
Apr ’23