You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm testing the plugin in Android and it's very useful (thank you!), the only problem is caused to me by this line:
textField.setTextSize(200);
This will alway try to make the text to the maximum size available, that is cool, but it doesn't consider the label height so in real life layout it make the component unusable.
For example let's say I have a name that most of the time fits the available space but I want to lower the font only in case it doesn't: with that text size size it will alway try to use the available space, so if the name is very small it will become massive.
If we remove that line the current font size is kept and it will start resizing only if the text doesn't fit.
Hopefully I've explained the issue :)
Is it possible to have this 2 ways as an option to pass to the component?
Do you agree with this? I can send a pull request as soon as I have a bit of free time if you agree
Cheers,
Dem
The text was updated successfully, but these errors were encountered:
Hello,
I'm testing the plugin in Android and it's very useful (thank you!), the only problem is caused to me by this line:
textField.setTextSize(200);
This will alway try to make the text to the maximum size available, that is cool, but it doesn't consider the label height so in real life layout it make the component unusable.
For example let's say I have a name that most of the time fits the available space but I want to lower the font only in case it doesn't: with that text size size it will alway try to use the available space, so if the name is very small it will become massive.
If we remove that line the current font size is kept and it will start resizing only if the text doesn't fit.
Hopefully I've explained the issue :)
Is it possible to have this 2 ways as an option to pass to the component?
Do you agree with this? I can send a pull request as soon as I have a bit of free time if you agree
Cheers,
Dem
The text was updated successfully, but these errors were encountered: