Panel Dock style filled

Hans 251 Reputation points
2021-01-30T15:36:36.303+00:00

Hi,

I am trying to programmatically create 2 panels and place them on a split container panel. That works. However, I want to have 1 panel on the bottom and 1 panel with dock style = fill.
The bottom panel also works fine, but the panel with dock style fill slides under the bottom panel.

I am not allowed to place code here so I put it in the attachment62187-paneldockstyle.txt

Greetings

Developer technologies | Windows Forms
0 comments No comments
{count} votes

Accepted answer
  1. Hans 251 Reputation points
    2021-01-31T08:53:52.317+00:00

    Hi,

    If you have more than 1 panel, place the panel with dock style = filled first on the components list. The answer can be found here: https://stackoverflow.com/questions/154543/panel-dock-fill-ignoring-other-panel-dock-setting

    Greetings.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.