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

Item details - author(?) field doesn't wrap #34

Open
mitchcohen opened this issue Jan 2, 2021 · 2 comments
Open

Item details - author(?) field doesn't wrap #34

mitchcohen opened this issue Jan 2, 2021 · 2 comments

Comments

@mitchcohen
Copy link
Contributor

The field that I suspect is the author field does not wrap, and is instead truncated. See screen capture.

IMG_6226

@kenstir
Copy link
Owner

kenstir commented Jan 2, 2021

That was the specific intent. Do you have a suggestion that is more visually pleasing? In iOS if you make the text field 2 lines, it will always be 2 lines, and the item format ("Book") appears oddly separated from the Author.

@mitchcohen
Copy link
Contributor Author

I haven’t looked through the source code yet - does the app not use AutoLayout? If using manual layout, you can use UILabel’s sizeThatFits to determine the labels height after setting the label’s text, then adjust the location of items underneath accordingly.

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

2 participants