title: C# WinForms How to add Panels with 100% width to FlowLayoutPanel?
body: <p>I'm currently adding dynamically panels inside a flowlayoutpanel. The size of the panel is defined by the flowlayoutpanel width (flowlayoutpanel.clientsize.width). But as soon as I resize the GUI and the flowlayoutpanel gets bigger, the panel stays the same size. I tried to solve the problem with anchors but it didn't work out for me. </p>
  
  <p>How can I keep the panel size same as the flowlayoutpanel size?     </p>
  
  <p>Picture of what I'm trying to achieve after resizing the window: </p>
  
  <p><a href="https://i.stack.imgur.com/0bhrm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0bhrm.png" alt="enter image description here"></a></p>