Hi all,
I am using the FormLayoutPanel for the first time and I am not able to figure out what is going on.
On the form, I have a label that can grow and shrink because the content can change. The text includes the name of the client and that name can always be different lengths in regard to characters. I also have a grid on the form.
As you will see from the attached image, the form that has the FormLayoutPanel on it is showing small and not showing the content of the form. The form is indicated via the green arrow.
In regard to the FormLayoutPanel, I have set it up in the following way:
Three rows, one column.
The label is in the first cell, nothing in the second cell and the grid in the third cell.
The TableLayoutPanel is anchored top, left, bottom, right.
Autosize = True
AutoSizeMode = GrowAndShrink
The Label in the first cell is anchored top, left, bottom, right
TextAlignment = MiddleLeft
The grid in the third cell is anchored top, left, bottom, right and also Dock = Fill
The form:
AutoSize = True
AutoSizeMode = GrowAndShrink
When I go into 'Edit Rows and Cells' for the TableLayoutPanel:
Column1 is AutoSize
Row 1 and Row 3 is AutoSize
Row 2 is 15px
I am using Row 2 to be a spacing between the Label and Grid.
Any ideas what I am doing wrong? I have not used the TableLayoutPanel before.
Thanks in advance for any pointers.
