flowlayout panel not shrinking when parent form si

2019-09-02 03:04发布

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!

0条回答
登录 后发表回答