Thread: gadtools
View Single Post
Old 21 July 2013, 11:48   #6
Registered User
thomas's Avatar
Join Date: Jan 2002
Location: Germany
Posts: 6,048
Originally Posted by bubbob42 View Post
Nice example, especially the calculations for font-sensitivity. Thanks!
Well, text width is approximated by average character width times number of characters. If a string contains many wide characters, this might fail. But it's easier than to get TextLength from every string and search the maximum.
thomas is offline  
Page generated in 0.04238 seconds with 11 queries