How to get FlowLayoutPanel.AutoSize to work with FlowBreak

前端 未结 3 1086
忘掉有多难
忘掉有多难 2021-01-04 06:50

I have a problem with a FlowLayoutPanel and I don\'t know how to solve it.

I\'m placing two FlowLayoutPanels inside another; the second inner flp has 3 buttons insid

3条回答
  •  梦毁少年i
    2021-01-04 07:20

    Not a solution, but a workaround. It looks like you are trying to simulate behavior of TableLayoutPanel by using flow breaks in FlowLayoutPanel. Did you try using TableLayoutPanel instead? According to your screenshots in the comments, it should work perfectly for your needs.

提交回复
热议问题