cl7 / CLTypingLabel

iOS UILabel with character by character typing /typewriter animation
https://cocoapods.org/pods/CLTypingLabel
MIT License
330 stars 54 forks source link

Center Text not working #10

Closed zanesc closed 5 years ago

zanesc commented 7 years ago

Hello, Testing this on iOS 10.3.3 on an iPhone 7 building with Xcode 8.3.3.

When i set "Center Text" to on in the storyboard the text is still left aligned. I have tried switching the text alignment between left align and center align. When it is on center align, the text moves back and forth each time a letter is typed, but still is left aligned.

I have ensured that I have my constraints set properly. Not sure what else could be causing this.

UPDATE: I just turned "Center Text" to off and center aligned the text and it is now centered.

cl7 commented 5 years ago

Good to know! Can't go wrong with Auto-layout!