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-13901: adding an iOS Label method to calculate the height #4444

Closed
wants to merge 1 commit into from

Conversation

mokesmokes
Copy link
Contributor

It turns out that for iOS we need to calculate ListView item heights. The issue is usually caused by wrapped labels, thus we need a method to calculate label heights, given a known width.
var calculatedHeight = myLabel.heightFromWidth(100); for example will provide the label's height, constrained to a width of 100, assuming word wrap behavior and accounting for the label's font.

@negupta
Copy link
Contributor

negupta commented Feb 19, 2014

Thanks for your commit. We have resolved TIMOB-13901 through another pull request #4939 and this issue is fixed in 3.2.0 release. Please try it out and let us know if you see any issue. Thanks again for your help.

@negupta negupta closed this Feb 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants