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

fix(uilabel): line height setter should not break line break mode #5544

Merged
merged 1 commit into from
Mar 15, 2018

Conversation

manoldonev
Copy link
Contributor

NOTE: Cherry-picked from #5251 due to CI infrastructure issues with the original PR.

When setting line-height using a stylesheet, line break mode will stop working.

Working line break mode:
https://play.nativescript.org/?template=play-ng&id=3HPeu8

Now adding a style to home.component.css:

Label {
    line-height: 1;
}

Results in broken line break mode:
https://play.nativescript.org/?template=play-ng&id=3HPeu8&v=5

My Pull Request fixes this behavior.

@manoldonev
Copy link
Contributor Author

👍 for PR approval.

@manoldonev manoldonev changed the title fix(line Line-height property breaks line break mode (iOS) fix(uilabel): line height setter should not break line break mode Mar 15, 2018
@manoldonev manoldonev merged commit 75bd1d2 into master Mar 15, 2018
@ghost ghost removed the in progress label Mar 15, 2018
@manoldonev manoldonev deleted the hettiger/uilabel-line-break-mode-fix branch March 15, 2018 14:21
@lock
Copy link

lock bot commented Aug 26, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Aug 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants