Skip to content
This repository was archived by the owner on Feb 7, 2020. It is now read-only.

text alignment fix#152

Open
pankkor wants to merge 5 commits intoSebastianThiebaud:masterfrom
pankkor:text-alignment
Open

text alignment fix#152
pankkor wants to merge 5 commits intoSebastianThiebaud:masterfrom
pankkor:text-alignment

Conversation

@pankkor
Copy link
Copy Markdown

@pankkor pankkor commented Oct 8, 2015

No description provided.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for some reason this is not enough

@pankkor
Copy link
Copy Markdown
Author

pankkor commented Oct 9, 2015

In the end the best solution was to do text alignment via paragraph style.
Also _attributesText attributes are now applied as base attributes and don't override _cleanAttributedText attributes. It's more like default UILabel works. If you set it's attributedString it doesn't override text alignment.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant