Hey guys, I'm pretty new to VB and have put together a form which has 3 datagrids, a few buttons and some labels.
Grid 1 contains 1 column and is located to the left of the screen, grid2 contains 5 columns and is in the middle, grid3 has 4 columns and located to the right.
I've anchored the grids as below:
Grid1: Top, bottom, left, right
Grid2: Top, bottom, right
Grid3: Top, bottom, right
When I shrink and grow the form from the top and bottom everything shrinks and grows accordingly, no problem.
When I shrink the form from the right or left, only grid1 shrinks and grows. If I drag the form in and start to shrink it, I can see grid1 is getting smaller while grid2 and grid3 remain the same size (see screenshot 1).
Not sure if this is expected or if I'm doing something wrong.
I guess what I'm trying to achieve is to have all the grids shrink, not just grid1.
I have tried anchoring grid2 to top, bottom, left and right, which then does shrink, but when the form is resized it leaves a large gap between grid1 and grid2 (see screenshot 2).