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

Invalid textAlign: justify #3093

Closed
misakuo opened this issue Sep 28, 2015 · 3 comments
Closed

Invalid textAlign: justify #3093

misakuo opened this issue Sep 28, 2015 · 3 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@misakuo
Copy link

misakuo commented Sep 28, 2015

the Text component throw a exception when I set textAlign as "justify", I checked the source code in ReactTextViewManager and found this property "justify" is not being processed. so, how can I make the text content center in parent?

@astreet
Copy link
Contributor

astreet commented Sep 28, 2015

Please use Stack Overflow and tag your question with react-native for asking these kinds of questions: http://stackoverflow.com/questions/tagged/react-native

Many people from the community hang out on Stack Overflow and will be able to see and likely also answer your question. Using Stack Overflow for questions also helps us use Github issues to keep track of bugs that need to be fixed.

@astreet astreet closed this as completed Sep 28, 2015
@astreet
Copy link
Contributor

astreet commented Sep 28, 2015

(In this case, justify is only supported on iOS as only iOS textviews expose it. You can use textAlign: center though)

@jsina
Copy link

jsina commented Nov 4, 2017

@astreet will upcoming version of react-native have justify for rtl text on Android?

@facebook facebook locked as resolved and limited conversation to collaborators Jul 21, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants