iOS Label Text Size

I’d like to upscale the size of a label’s text. How is this done in iOS?

ex: a heading on a dashboard

In Xojo, select the label and then select the “gear” icon at the top of the Inspector. It’s recommended to use a font built into iOS.

You might have to adjust the height of the label depending on the font size.

You can also adjust font sizes programmatically, like in the Open event of a view, but that won’t show in the IDE.

To change in the IDE, use the Inspector as Art says.

To change in code, use the iOSLabel.TextFont property and the iOSFont class.

Label1.TextFont = iOSFont.BoldSystemFont(40)