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

How to change the text alignment #38

Open
salimgcet opened this issue Apr 13, 2017 · 2 comments
Open

How to change the text alignment #38

salimgcet opened this issue Apr 13, 2017 · 2 comments

Comments

@salimgcet
Copy link

Hi team,

My "textview" alignment is right, so How I will change the alignment.

Thanks,
Salim

@devxoul
Copy link
Owner

devxoul commented Apr 13, 2017

If you're textView's text alignment is set to right, placeholder will follow that alignment.

simulator screen shot 13 apr 2017 4 57 13 pm

@darkhorse-coder
Copy link

This module have placeholderTextView subview. you can use this view to change alignment.
myTextView.textAlignment = .right
myTextView.placeholderTextView.textAlignment = .right

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

3 participants