I have a flowlayout panel and a resize event, I resize all the controls inside the flowlayout panel to fit the width (flowlayoutpanel - padding - scrollbar width). At some sizes, the scroll bar is not displayed, hiding most of the controls outside the flowlayout pane, and with other changes, the scroll bar is displayed. I set the AutoScroll property in the flowlayout panel to true. All this is done using C #, but I also ran into this problem in VB.net.
Is there a way to get flowlayoutpanal to recount how controls are laid out after resizing controls in a resize event or some other way to fix this problem?
source
share