Description
We have encountered an inconsistency where textbox and button sizes appear differently in the .NET Framework compared to the .NET Core version. This issue was noticed while creating TextBox and button in WinForms for the project. Only the Core project returns the UI correctly. Kindly provide guidance or suggest a solution to resolve this issue.
Sample Screenshot
NetCore
NetFramework
This behavior also changes when we set the Application.SetCompatibleTextRenderingDefault(false);
When we set the Application.SetCompatibleTextRenderingDefault(true);
