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

fix italic text getting cut off in bookmarks list #1005

Conversation

Astridchan
Copy link

1595432493265

Seems to be an old issue, found several reports of this issue on stackoverflow (some dating back to 2010!):
https://stackoverflow.com/questions/4353836/italic-textview-with-wrap-contents-seems-to-clip-the-text-at-right-edge
https://stackoverflow.com/questions/10243374/textview-cutting-off-a-letter-in-android
https://stackoverflow.com/questions/44074858/android-textview-text-get-cut-off-on-the-sides-with-custom-font
etc.

tl;dr:

This is because the wrap_contents creates a rectangle and the textview text tries to fit in but in italics some part in the starting or end is clipped because it is outside that rectangle made by wrap_content.

Source for fix: https://stackoverflow.com/a/61870394

@Adamantcheese Adamantcheese merged commit a3eaf63 into Adamantcheese:multi-feature Jul 23, 2020
@Astridchan Astridchan deleted the fix-italic-text-in-bookmark-list branch July 27, 2020 09:33
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

Successfully merging this pull request may close these issues.

2 participants