Post

Replies

Boosts

Views

Activity

Reply to When using UIButton.Configuration it's impossible to limit number of lines of the button's title label
If you are using Button.Configuration, then to limit the number of rows to 1 you need to do the following: var conf = UIButton.Configuration.plain() conf.titleLineBreakMode = .byTruncatingTail let button = UIButton(configuration: conf)
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Nov ’23