MAX_COLS
SetSizeLimits(MIN_COLS * width - 1, MAX_COLS * width - 1,
SetSizeLimits(MIN_COLS * fontWidth - 1, MAX_COLS * fontWidth - 1,