iOS Label Text Size

  1. last year

    Scott R

    15 Dec 2018 Pre-Release Testers, Xojo Pro

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

    ex: a heading on a dashboard

  2. Art G

    16 Dec 2018 Prescott AZ

    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.

  3. Paul L

    17 Dec 2018 Xojo Inc, Third Party Store

    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)

or Sign Up to reply!