How to adjust the form's length