Align controls to center in a FlowLayout

后端 未结 7 856
一向
一向 2020-12-30 01:47

I have a flowlayout as follows:

\"enter

I need to center all the controls on t

7条回答
  •  悲&欢浪女
    2020-12-30 02:35

    Throwing the buttons directly to the form or a panel (not FlowLayoutPanel), and setting Anchor = Top (only Top) for all of them, they won't be centered but will always move proportional to the form's (or container's) sides when resizing.

提交回复
热议问题