Proportional Resize of Vertically Stacked Controls on a Resizable Form
-
On my form I have 4 controls that span the width of a form. The controls each take up ~1/4 of the available vertical space and are stacked such that the vertical space is almost completely used. I'm having trouble getting the controls to correctly resize vertically when I resize the form. I want to maintain the same layout as now, but if I anchor both the Top and Bottom then the upper-left corner of each control is fixed, so they overlap when I resize. How can I allow the "anchor" point to slide proportionally to the resize and maintain the same aspect? Thanks
-
On my form I have 4 controls that span the width of a form. The controls each take up ~1/4 of the available vertical space and are stacked such that the vertical space is almost completely used. I'm having trouble getting the controls to correctly resize vertically when I resize the form. I want to maintain the same layout as now, but if I anchor both the Top and Bottom then the upper-left corner of each control is fixed, so they overlap when I resize. How can I allow the "anchor" point to slide proportionally to the resize and maintain the same aspect? Thanks