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

Prefix and suffix are not aligned with text when height of TextFieldBoxes is smaller than that in wrap_content #40

Open
ako2345 opened this issue Nov 23, 2017 · 1 comment

Comments

@ako2345
Copy link

ako2345 commented Nov 23, 2017

I set the height of TextFieldBoxes to 80dp and found that prefix and suffix were not at the same height as a text.

@HITGIF
Copy link
Owner

HITGIF commented Nov 27, 2017

This is a bug, yet currently I can't fix as the original textview behaves weird when cutting off characters.
However, actually you are not supposed to set the height lower than that at wrap_content.
Shrinking the textview will cause the top margin to disappear as well as other bugs (some characters get cut off).
All in all, wrap_content is suggested to be your minimum height :)

@HITGIF HITGIF changed the title Prefix and suffix are not aligned with text when height of TextFieldBoxes is custom Prefix and suffix are not aligned with text when height of TextFieldBoxes is smaller than that in wrap_content Nov 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants