You edited the form settings, right? And you changed the layout margin function to "1", right? Then don't do that Choose your grid and in the property editor set the margin.