.NET version
.NET SDK 11.0.100-alpha.1.25619.109
Did it work in .NET Framework?
No
Did it work in any of the earlier releases of .NET Core or .NET 5+?
No, not a regression issue
Issue description
Under High DPI settings (300%), the in-place Text editor for MaskedTextBox is not scaled correctly at runtime.
The editor height appears too small and the text is partially clipped or not properly aligned.
In contrast, the Text editor shown in the Visual Studio Properties window at design time is rendered correctly under the same DPI settings.
Steps to reproduce
- Create a Winforms .NET project with MaskedTextBox & PropertyGrid controls
- Select the maskedTextBox as object for the propertyGrid1
- Build and run app
- Open Text property in PropertyGrid
- Observe Text editor for maskedTextBox