Bunifu controls don't scale properly on display's with different resolutions. Is scaling not supported on Bunifu controls or is there a setting to fix that?
Asked
Active
Viewed 101 times
0
-
Is your app DpiAware? -- You need to specify the .Net version in use. – Jimi Jun 28 '22 at 11:04
-
I am using .NET Framework 4.7.2 – Prathamesh Katkar Jun 29 '22 at 05:49
-
So, you mean that your app is not DpiAware? Do you know what that means? -- Anyway, in `app.config`, add `
` (in 4 lines). Also, read here: [Windows Forms Add Configuration Element](https://learn.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/winforms/windows-forms-add-configuration-element) -- I suggest to upgrade to .Net Framework 4.8. – Jimi Jun 29 '22 at 16:35 -
I haven't manually mentioned the Winforms app to be DpiAware. If Winform apps are DpiAware by default, then it is else not. – Prathamesh Katkar Jun 30 '22 at 05:50
-
WinForms apps that target .Net 6+ are DpiAware. Since you're targeting .Net Framework, your app is not DpiAware unless you opt-in. Read my previous comment (and the documentation. This one also: [High DPI support in Windows Forms](https://learn.microsoft.com/en-us/dotnet/desktop/winforms/high-dpi-support-in-windows-forms)). – Jimi Jun 30 '22 at 05:53