开发者

UITextAlignmentCenter for two liners with same number of characters, not aligned

I have a UILabel with text: 照明タイマーをセットする that is being cut into two lines "照明タイマー" and "をセットする", I set the lines of alignment of the UILabel to UITextAlignmentCenter, but the second line wouldn't align to center. I have also tried UILineBreakModeCharacterW开发者_StackOverflow社区rap and UILineBreakModeWordWrap, but it's still the same. Any ideas?

Thanks.


Setting it up in interface builder works fine.. have you solved it?

UITextAlignmentCenter for two liners with same number of characters, not aligned

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜