somebody knows if it’s possible to set a specific line-height for three20-styled texts?
thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is no easy way to achieve decent line spacing on TTStyledText. It is really very noticeable when you use non-standard fonts at larger sizes. However you can get it working with a lot of hacking using TTStyledLayout and categories. Look at internal functions that modify _lineHeight and in particular
My version is way too messy to release but if someone had the time to do a clean implementation it would be a great addition to three20 (copy and paste would be a nice-to-have also)