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

AutoLayout Not Working Correctly with ActiveLabel #36

Closed
ghost opened this issue Dec 28, 2015 · 9 comments
Closed

AutoLayout Not Working Correctly with ActiveLabel #36

ghost opened this issue Dec 28, 2015 · 9 comments

Comments

@ghost
Copy link

ghost commented Dec 28, 2015

I'm using ActiveLabel as the Custom Class for my post’s content labels in the Storyboard; however, I believe it is interfering with Autolayout. For some reason the post’s content gets cut off (screenshot attached).

I guess it’s hard to know without seeing my code - but do you have a clue why this might be?

img_1008

@polqf
Copy link
Contributor

polqf commented Dec 31, 2015

Sorry, I cannot understand your problem.
Do you mean that the text gets cut of on the right side of the cell?

@hdogan
Copy link

hdogan commented Jan 6, 2016

It breaks sentences as seen on screenshot. (As seen on first cell on screenshot "Palmer is throwing down tonight at 11pm. Theme").

I've tested with using "HelveticaNeue" font on custom table cell. But when I switch another font (tested with Avenir Next and San Francisco) it works as expected.

@OmerCora
Copy link

setting the line count of the label to "0" fixed this issue for me but i am having some auto-layout issues too, my dynamic cell height cant properly calculated.

@hdogan
Copy link

hdogan commented Jan 12, 2016

Labels' numberOfLines values are already set 0 when testing.

@MBLESSEN
Copy link

MBLESSEN commented Feb 2, 2016

I'm having the same problem anyone figure this out?

EDIT* i switched my custom font to system font and it corrected the problem of text being cut off.

this needs a fix

@MBLESSEN
Copy link

Does anyone have a fix for custom fonts and auto layout? any ideas on how to fix this i the source code?

@iantheparker
Copy link

+1

@alkanyunus
Copy link

Yes I've also had this issue. I had to make my label's font to System. Font style doesn't work either.

@polqf
Copy link
Contributor

polqf commented Mar 11, 2016

Hi guys, merged #46 . Please check if this is issue is fixed with it and let me know 😉

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

No branches or pull requests

6 participants