ChildMdi Container control rendering issues when not Maximized
- Dominant language
- C#
- Stars
- 4.9k
- Forks
- 1.1k
- Avg merge
- 1d 13m
- Merged PRs (30d)
- 85
Description
* .NET Core Version:
dotnet-sdk-7.0.100-alpha.1.21568.2-win-x64
* Have you experienced this same bug with .NET Framework?:
No
**Issue** When moving an MdiParent to a higher DPI monitor, the ChildMdi (not maximized) TabControl on the bottom becomes slightly wider and slightly shorter after multiple moves.
Run the project and click MdiParent - Simple Layout on the 100% monitor
Click on the Maximize/Minimize to un-maximize the ChildMDI form, then drag the MdiParent to the 150% monitor. The Width = 613 and the Height = 261 as displayed in the text box inside the tab control. After moving it to the 100% and back again, the size becomes 619x233. After doing this again, it becomes 816x204 and the tab control now runs past the right edge.

[PerMonitorHDPICore - NET 7.0.zip](https://github.com/dotnet/winforms/files/7646074/PerMonitorHDPICore.-.NET.7.0.zip)
Contributor guide
Assessment
This issue has not been assessed yet.