Marshal Rahmat

Marshal Rahmat

  • NA
  • 41
  • 2.4k

FlowLayoutPanel AutoWrap When AutoSize Is True

Apr 15 2015 3:31 AM
hello
 
I have a FlowLayoutPanel On An UserControl That It Docked To Top And Use In Forms
Now When I Use This Situation:
AutoSize = True
WrapContent = True
AutoSizeMode = GrowAndShrink
AutoScroll = True
Then : When Form Width Resize , Panel Scrolls Work And Panel Dont Wrap It Controls
When I Set Autosize = False , Wrap Work Nice
Now Is There Any Way To Use Both WrapContent And AutoSize ?
Because I Cant Set Static Height For Panel And It Should Be AutoSize ...
Thanks.