INTERACT FORUM

More => Old Versions => Media Center 17 => Topic started by: ShayB on July 20, 2012, 03:09:36 am

Title: padding spaces in file names (renaming) with variable width font consideration
Post by: ShayB on July 20, 2012, 03:09:36 am
hi,

Can MC calculate (based on the internal font) what would be the actual (not length() ) width of a string
(it can be based on the MC currently used font)?

I want to align my files in my directories with space padding but I need a clever way of knowing how many spaces to use (each string has different actual width based on its characters and the sum of them)

for example a "space" is about half width of any other character.