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
[TIMOB-16511] : Text in label gets truncated (...) when changing font Weight from normal to bold #9923
Conversation
…Weight from normal to bold
Generated by 🚫 dangerJS |
@@ -448,6 +448,7 @@ - (void)setFont_:(id)font | |||
CGFloat ratio = minFontSize / label.font.pointSize; | |||
[label setMinimumScaleFactor:ratio]; | |||
} | |||
[self padLabel]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a pretty major change. Can we validate the following use-cases for this:
- Multi-line labels
- ellipsize labels
- minimum-font-sizes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, changing other label properties causes this issue too. Our label code probably needs to re-udpate/invalidate itself after a property change.
https://jira.appcelerator.org/browse/TIMOB-24864
Generated by 🚫 dangerJS |
https://jira.appcelerator.org/browse/TIMOB-16511