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

Changing message text alignment? #49

Open
ScottEAdams opened this issue Jun 5, 2013 · 1 comment
Open

Changing message text alignment? #49

ScottEAdams opened this issue Jun 5, 2013 · 1 comment

Comments

@ScottEAdams
Copy link

Great work!

One small thing I can't seem to figure out is how to change the message alignment from NSTextAlignmentCenter to NSTextAlignmentJustified. Possible?

@barrettj
Copy link
Collaborator

barrettj commented Jun 6, 2013

Unfortunately there is no easy way to do this as UILabel doesn't support NSTextAlignmentJustified.

The path ahead would be to accept Attributed Strings (which do) and to set the attributedString property of the UILabel, but this would only work for iOS 6 as that's when the attributedString property was added.

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

2 participants