Author Topic: Embedded font size?  (Read 2293 times)

edisonfloyd

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 6
    • View Profile
Embedded font size?
« on: April 05, 2014, 10:33:09 PM »
Is there a way to have two different font sizes in the same label? That way I could write 2x (as in a multiplier) with a small x and large 2.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Embedded font size?
« Reply #1 on: April 06, 2014, 02:51:52 AM »
You can use the [sub] or [sup] tags as mentioned on the documentation page for UILabel. You can't change fonts mid-sentence.