Either use the Anchor settings to force it to remain certain spaceing form the edges or use the Dock settings to force it to fill available space.