flowlayout panel not shrinking when parent form size is changed

自作多情 提交于 2019-12-13 04:02:24

问题


I have a form with a flowlayout panel [autosize : true, Grow and Shrink mode]. this panel will hold a user control, which has a tablelayoutpanel [autosize : true, Grow and Shrink mode]..I have a datagrid inside the tablelayoutpanel.

the problem is, if I shrink the form, the flowlayout panel is not shrinking with the form. I need to have the panel shrink-ed with the form, so that there is no scroll on the datagrid.

is there a way to shrink the panel along with the parent form? I tried docking, still no use. any help on this will be of real use!

来源:https://stackoverflow.com/questions/20206594/flowlayout-panel-not-shrinking-when-parent-form-size-is-changed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!