Autofit the width of form on different devices.