I would like to align like this
label1 TextBox1
label2 TextBox2
label3 TextBox3
I set FlowDirection
to TopDown
but how can I do to align label1
with TextBox1
horizontally ?
I would like to align like this
label1 TextBox1
label2 TextBox2
label3 TextBox3
I set FlowDirection
to TopDown
but how can I do to align label1
with TextBox1
horizontally ?
FlowLayoutPanel does not support that behavior. However, you could achieve the same result if you group each label/TextBox combo on e.g. their own panel and then set the FlowDirection to TopDown
Why use a FlowLayoutPanel
for this? A TableLayoutPanel
would seem much better suited.