-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'adjustsFontSizeToFitWidth' doesn't seem to work #21
Comments
I believe that the issue is that automatic scaling only works when numberOfLines = 1, which is the default when the FXLabel is created using a nib, but not when created programmatically. I'll fix that, but in the meantime if you set numberOfLines = 1 yourself then it should work. |
Ah, sorry. The problem only applies when minimum deployment target is set to iOS 7 or higher, so I didn't notice it. I'll investigate now. |
OK, this is fixed in 1.5.8 |
I have the same problem. Target is set to iOS 7 or higher and I'm adding label from code. Also, I'm using the latest FXLabel version 1.5.8. |
Saw this was fixed previously but I seem to be having the same problem in 1.5.6 and 1.57
The text was updated successfully, but these errors were encountered: