Swift123
Swift123

Reputation: 53

Font size in running app not same as in storyboard (Xcode 14.1)

The font size displayed when running the app is smaller than what I have set in the storyboard. After doing some digging it is my understanding there was a button called "Adjusts Font For Content Size Category" in previous Xcode versions, that would help me get the result I want. But I cannot find "Adjusts Font For Content Size Category" in Xcode 14.1.

Any solutions to this?

enter image description here

Upvotes: 0

Views: 381

Answers (1)

Sebz
Sebz

Reputation: 1

In xCode 14 "Adjusts font size for category" has been replaced by the "Adjusts Font" property. You can find it in the attribute inspector for a UILabel or in your case your Button.

You just have to click the T icon to the right of the font label. When the dialog opens, just use the "Size" slider or enter a value.

Do not forget after to enable the "Adjusts Font" checkbox.

Upvotes: 0

Related Questions