Open Neelfyn opened 4 years ago
Thanks for the report! Looks like a missing UI constraint in https://github.com/nordprojects/littleprinters-ios-app/blob/master/littleprinter/UI/Printers/PrinterListTableViewCell.swift#L135
Happy to review a PR if you're interested!
@joerick Thanks for the tip! I'm not super familiar with Swift, but purely based on what the rest looks like, make.right.equalTo(shareButton.snp.left)
appears to fix this for me. Not sure whether the margin for the key icon is handled elsewhere, but it looks fine to me without specifying a negative offset.
I suppose ownerLabel
could also benefit from something like make.right.equalTo(cardImageView).offset(-6)
while we're looking at this.
If this is an acceptable solution for you, I'll be happy to create a PR!
Sounds good to me!
Steps to reproduce
Expected result
The printer name is truncated with an ellipsis, or wraps to a new line.
Actual result
The printer name stacks with the key icon, and overflows outside of the box:
This is a purely cosmetic issue, the usability of the key icon is not affected.
Configuration: iPod touch 7th generation, iOS 13.7, Little Printers 1.0.1.