iOS Question Multi-Line Button Text in iOS

Jim McDougal

Member
Licensed User
Trying to get button text on two lines using the Multiline Editor tool in B4i Designer, but no luck. Also, a longer single line will not wrap. Since I am lazy and there's probably a simple solution, I will post this question instead.

🤔
 
If I remember correctly, you need to do it by code:
Code:
Button1.As(Button).CustomLabel.Multiline = True
Exactly. And the same code can be used to set custom font:
[CODE lang="b4x" title="B4i"]myButton.CustomLabel.Font = Font.CreateNew2(myFontName,myFontSize)[/CODE]
 
Upvote 0
Back
Top