titanium-sdk
titanium-sdk copied to clipboard
Add autoSize to label
I have searched and made sure there are no existing issues for the issue I am filing
- [X] I have searched the existing issues
Description
Adds a property autoSize
to Ti.UI.Label. This makes the text fill out the label width/height automatically:
It won't change the fontSize and will restore the old value when you deactivate it. Similar to the
minimumFontSize
but you don't need to define a max/min value.
Solution
adding a property autoSize
Alternatives
No response
Platforms
Android
Looking for a parity ticket :)
I did a module that solve this on iOS https://github.com/mbender74/ti.labelextension-ios