-
Notifications
You must be signed in to change notification settings - Fork 224
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
The label gets out of bounds in example #19
Comments
I can confirm the issue on iPhone SE. |
@croossin Is this an issue in the CardParts code, or just the example? Can I take a poke around at it? |
@lwdupont That would be awesome if you could! |
@croossin So I looked at it. Thinking CardParts should handle this, I traced into where it's setting up the CardPartsTitleView. I tweaked updateContraints() slightly to pin the horizontal to both edges. I'll open up a pull request soonish, maybe tomorrow. Results: |
…rtTitleView. The CardPartTitleView was setting the horizontal constraint to pin left, but nothing on the right, so the UILabel just floated off of the containing CardPartVIew. Figured this fix was good because then the developer can decide if they want to go further in fixing up their label (vs CardParts deciding for them).
…t-part Tweak for issue #19 to fix the going off the right edge of the CardPartTitleView
This was fixed in PR #23 and released in CardParts 2.3.4 |
iPhone 5s simulator:
The text was updated successfully, but these errors were encountered: