c# - FlowLayoutPanel's ScrollBar disappears after change in size -
c# - FlowLayoutPanel's ScrollBar disappears after change in size -
i utilize code add together objects controls list of flowlayoutpanel. when controls added, vertical scroll bar appears (if necessary) set autoscroll true.
i have event handler:
private void form1_resize(object sender, eventargs e) { resultsflow.width = this.width - resultsflow.left; resultsflow.height = querysetuppanel.height = this.height; } when resize form, scroll bar disappears regardless of content's height beingness more panel's height.
i tried setting minimum , maximum size both form , panel suggested in similar question, doesn't work mine.
also, when restore window maximum state normal, panel's content don't repositioned properly.
i'm pretty sure i'm resizing panels correctly based on positioning.
does has thought going on?
c# resize scrollbar flowlayoutpanel
Comments
Post a Comment