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

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -