I have such form layout
Panel Dock=Fill
GroupBox Dock=Bottom
FlowLayoutPanel
Panel
Panel
Panel
Panel
Panel
Panel
(as shown here https://onedrive.live.com/redir?resid=8664902FAE855051!64006&authkey=!AAy9OiMaSwqs2Fs&v=3&ithint=photo%2c.png)
When I resize the window the layout of 4 Panels inside FlowLayoutPanel is changed incorrectly - last Panel is placed out of GroupBox (https://onedrive.live.com/redir?resid=8664902FAE855051!64005&authkey=!ANnpm-6d3RAKa_M&v=3&ithint=photo%2c.png) It seems that GroupBox has invalid value of Location.
But if I resize the GroupBox once more, everything is ok and all Controls are placed inside the GroupBox
AutoSize properties of GroupBox, FlowLayoutPanel and all Panels are set to true.
Could anybody help me to solve this issue?