Resizing Group Boxes while Maintaining Spacing

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi everyone,
So for some background, I am using VS 2010 to build a WinForms application. Now my form is all complete and everything, functionality is there, but I am struggling trying to figure out how to resize my forms controls properly. I would add a screenshot of
my form, but apparently MSDN wont let me until my account is verified, which it doesnt tell me how to do. So in words, I have a from which contains a tabbed interface. On the tabbed page, I have a series of group boxes that contain various controls. I can
resize the tabbed page to fit the form window just fine using the anchor property, but what I want is that all of the group boxes will also be resized while maintaining spacing between them to fit the maximized form. The layout of the tabbed page is like this:
[group]<span style="white-space:pre [group] [group]<br/>
[group]<span style="white-space:pre [ ] [group]
Where the middle one is one long group box. I either want the group boxes to expand to fill the tabbed page if the application size is changed, or increase the spacing between the group boxes so that they fill the page (and I dont have all that unsightly
leftover space to the right like I do now). Ive looked all over the web, but to no avail. Any suggestions?
Thanks in advance! And sorry for the crude image. A screenshot would be much better, I know.
<br/>
<br/>
<br/>
<br/>
<br/>

View the full article
 
Back
Top