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

Floating label's location not taking leftView and leftViewMode property into account #31

Closed
hotngui opened this issue Nov 22, 2013 · 5 comments

Comments

@hotngui
Copy link

hotngui commented Nov 22, 2013

If I use UITextField.leftView to show an indicator or something the floating label's X coordinate is wrong since its not accounted for when its being calculated.

@wtimme
Copy link

wtimme commented Dec 23, 2013

Could you please provide an example?

There are several UITextFieldViewModes available. What is the expected behaviour of the floating label when being used with a leftView?

@hiroshihorie
Copy link

It is almost perfect except I have this problem too

@jverdi
Copy link
Owner

jverdi commented Feb 28, 2014

@hiroshihorie could you give an example of how you use leftView, and how you would expect the floating label to behave?

@hiroshihorie
Copy link

I think @hotngui also expected the floating label to be horizontally aligned with the text. You just need to assign a imageView to leftView to reproduce.

@jverdi jverdi closed this as completed in 839a50e Mar 9, 2014
@jverdi
Copy link
Owner

jverdi commented Mar 9, 2014

This should now be fixed. Let me know if you encounter any problems.

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

4 participants