Panel.Dock Fill ignoring other Panel.Dock setting

后端 未结 10 1087
我寻月下人不归
我寻月下人不归 2020-12-04 06:02

If you create a panel on a form and set it to Dock=Top and drop another panel and set its Dock=Fill, it may fill the entire form, ignoring the first panel. Changing the tab

10条回答
  •  再見小時候
    2020-12-04 06:33

    JacquesB had the idea with the document outline but the hierarchy didn't solve my problem. My controls were not in a hierarchical style they were just listed with the same parent.

    I learned that if you changed the order it will fix the way you want it to look.

    The controls on the bottom of the list will overlap the controls on top of it in the Document Outline window. In your case you would make sure that the first panel is below the second panel and so forth.

提交回复
热议问题