I have a winform with a picture box, a button, and a menustrip. The picture box is anchored to all sides so when I resize the form, the picture box resizes as well. I set the form to have a minimum size of 700×600.
But this only works when the form is set to AutoSizeMode = GrowOnly. If I change to AutoSizeMode = GrowAndShrink, the diagonal <=> resize arrow doesn’t even show up.
If I set the SizeGripStyle = Show on the form, I can get the arrow to show up and “resize” but as I drag it to resize, it just flickers really fast and goes back to default size.
How can I make it GrowAndShrink instead of just GrowOnly?
Make sure the form properties have the following:
Lastly, ensure that you use anchoring or docking for adjusting control widths when the form resizes. Setting controls with a width may prevent you resizing the form.