Somewhat working version of autofit text