Use TextWidth for strings widths

Use variable.TextWidth intead of With for calculating the width of the
string that needs to be written