Variable way to set caret width