Sam
Sam

Reputation: 45

Label sizes changing when run

For some reason when I run my view controller in the simulator, the label changes size. For example, a page set up like this:

enter image description here

Will show up like this when run:

enter image description here

Its too thick when I run it. The only constraints it has are when I "added missing constraints"

Upvotes: 0

Views: 29

Answers (1)

Badal Shah
Badal Shah

Reputation: 7602

Just Give the top , leading , trailing and fixed height to label check below image .

enter image description here

Output:-

enter image description here

Upvotes: 2

Related Questions