set minimum maxLength to 30%
--when the user was using the mouse wheel to change the maximum length, the maximum length could get lower values than 30%