Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UILabel min font size shadow issue

I have an issue when setting minimum font size on my UILabels. As you can see the shadow isn't following along with the font size. It's supposed to be just 1 px heigh.

My label:

UILabel settings simulator

My settings:

UITableViewCell IB

like image 963
Daniel Tovesson Avatar asked Apr 23 '13 08:04

Daniel Tovesson


2 Answers

Turn off "Tighten Letter Spacing".

There seems to be a bug with shadows, auto shrinking, and auto tightening.

like image 122
Frank Krueger Avatar answered Nov 01 '22 02:11

Frank Krueger


Set the shadow.offset programmatically based on font size.

like image 25
AMohan Avatar answered Nov 01 '22 01:11

AMohan