Skip to content
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-1618] Android: Label property minimumFontSize not implemented #5909

Closed
wants to merge 9 commits into from

Conversation

lgolu
Copy link
Contributor

@lgolu lgolu commented Jul 15, 2014

I've resolved the parity ticket for minimumFontSize property of the Label on Android (https://jira.appcelerator.org/browse/TIMOB-1618).
If the property is set it scales the text to fit, same behaviour as on iPhone. It was tested with the Titanium app I'm working on at Atoss, cannot publish testing code.

Added minimumFontSize property with the same behaviour as on iPhone
Added property minimumFontSize
Implemented parity behaviour for the property minimumFontSize on Android.
Correction: replaced missing font padding implementation
Added import declarations.
@ingo ingo changed the title Resolves ticket TIMOB-1618: Label property minimumFontSize not implemented on Android [TIMOB-1618] Android: Label property minimumFontSize not implemented Nov 18, 2014
/**
* @module.api
*/
public static final String PROPERTY_MINIMUMFONTSIZE = "minimumFontSize";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might want to change PROPERTY_MINIMUMFONTSIZE to PROPERTY_MINIMUM_FONT_SIZE to more align with Appcelerator's coding style.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@hansemannn
Copy link
Collaborator

@lgolu Can you address the comment above and update the repo to work with the latest master? Its a great addition to the SDK so we would appreciate it as part of the core. Thank you!

Renamed PROPERTY_MINIMUM_FONT_SIZE
Renamed PROPERTY_MINIMUM_FONT_SIZE
@hansemannn
Copy link
Collaborator

hansemannn commented Dec 4, 2016

@lgolu Thanks for addressing the comments! Can you please pull from master to resolve the merge conflicts? If not, we can do that for you of course. Then @fmerzadyan can check the CR and FT. Thanks!

@hansemannn hansemannn added this to the 6.1.0 milestone Dec 4, 2016
@lgolu
Copy link
Contributor Author

lgolu commented Dec 14, 2016

@hansemannn It would be great if you could resolve the merge. Thank you!

@hansemannn
Copy link
Collaborator

Thanks @lgolu! Fixed the merge conflicts, updated the indentation and the docs. Follow-up: #8724

@hansemannn hansemannn closed this Dec 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants