bazinga Posted January 8, 2017 Share Posted January 8, 2017 (edited) I'm currently making a small app. I've realized that same string with different font shows different length. Is there a way to change the size of the font to ensure all the text could fit into the result. (result with Gill Sans style font) (result with Andale Mono style font) Thanks a lot! Edited January 8, 2017 by bazinga Link to comment
deanishe Posted January 8, 2017 Share Posted January 8, 2017 That's not possible, I'm afraid. You could make a feature request for it. I think in this case you might have to go with "Indiana Pacers 123 : 109 New York Knicks | final" or pad to a fairly low maximum length. It is possible to precisely align the text yourself, but it isn't simple. Link to comment
bazinga Posted January 8, 2017 Author Share Posted January 8, 2017 Got it! Thanks a lot! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now