Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controls overlapping DockPanel are covered #651

Open
TeoMan opened this issue Feb 25, 2021 · 3 comments
Open

Controls overlapping DockPanel are covered #651

TeoMan opened this issue Feb 25, 2021 · 3 comments

Comments

@TeoMan
Copy link

TeoMan commented Feb 25, 2021

My DockPanel does not cover all the main window but leave a space for a bar (Please, I need it like this and I can not change the layout).
If the DockPanel and the controls does not overlap, no error;
otherwise if I design a overlapping area like in this image (Again, I need it like this) (DockPanel is in the upper part but it is "SendToBack" and is overlapped by a panel on the front up to the dashed line)
ErrorWL3

On run I get this layout:
ErrorWL2

If I open a DockContent (as MDIDocument) inside the DockPanel I get this annoyng horizzontal line that is drawn by DefaultDockWindow.OnPaint
ErrorWL1

I am using Vs2017 and latest 3.0.6 nuget version

@lextm
Copy link
Member

lextm commented Aug 28, 2021

You might share a complete sample somewhere so that others can investigate what's wrong.

@TeoMan
Copy link
Author

TeoMan commented Aug 30, 2021

WindowsFormsApp1.zip

Start software and see the first issue
Press button1 and see the second issue

Hope this can help

@cuppm
Copy link

cuppm commented Sep 15, 2021

I just tried your example using 3.1.0 with the 2013 light theme and it looks like I would expect it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants