-
Notifications
You must be signed in to change notification settings - Fork 153
check for textAllCaps #26
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
check for textAllCaps #26
Conversation
when property of layout textAllCaps was set to true, the string got fit to view before the caps were applied. This fix checks if the property is set, makes the string upper case if true, and then performs the fit.
Modified the solution as discussed in the comments. |
I think you should also call the resize function inside setAllCaps
|
But I removed setAllCaps and _allCaps, leaving only solution proposed by yourself in the commends under the issue. |
I meant something like this:
|
Done. |
check for textAllCaps
nice. thank you. |
I thank you too. |
If you know how to fix the other issues, please let me know. |
When property of layout textAllCaps was set to true, the string got fit to view before the caps were applied. This fix checks if the property is set, makes the string upper case if true, and then performs the fit.