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

Invalid intrinsicContentSize with bold style of active elements #312

Closed
lancheg opened this issue Mar 22, 2019 · 2 comments · Fixed by #313
Closed

Invalid intrinsicContentSize with bold style of active elements #312

lancheg opened this issue Mar 22, 2019 · 2 comments · Fixed by #313
Assignees
Labels

Comments

@lancheg
Copy link
Contributor

lancheg commented Mar 22, 2019

I'm trying to set bold style for the active content, but bold text is longer than regular text, and label carries it to a new line.

For example, this is original text:
Снимок экрана 2019-03-22 в 22 21 51

This is what I want to reach:
Снимок экрана 2019-03-22 в 22 13 03

But this is what I get:
Снимок экрана 2019-03-22 в 22 13 03

Thank you for your library!)

@maziyarpanahi
Copy link
Collaborator

Thanks for making a pull request, I will include it in the next release with Swift 5.0 👍

@stale
Copy link

stale bot commented Sep 24, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 24, 2019
@stale stale bot closed this as completed Sep 27, 2019
danielpetroianu added a commit to danielpetroianu/ActiveLabel.swift that referenced this issue Nov 10, 2019
danielpetroianu added a commit to danielpetroianu/ActiveLabel.swift that referenced this issue Nov 10, 2019
@maziyarpanahi maziyarpanahi self-assigned this Jul 2, 2020
maziyarpanahi added a commit that referenced this issue Jul 20, 2020
Issue #312: Fixed intrinsicContentSize size calculation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants