C
C#2mo ago
Geist789

WPF Scaling Bug

I currently have a problem with the scaling of my WPF application, unfortunately I can't give too much code or information for internal reasons. The problem occurs when I set the scaling e.g. from 150% to 100% or to 300%. The LayoutGroup boxes and items move as you can see in the picture About the project: DevExpress 24.1.5 WPF C# application
No description
2 Replies
Furtun
Furtun2mo ago
I suppose that's related to DPI awareness of the wpf app. Not 100% sure since you can't show code, but give this a read and try to either disable dpi awareness or play with the dpi scales from presentation source https://learn.microsoft.com/en-us/windows/win32/hidpi/declaring-managed-apps-dpi-aware
Developing a Per-Monitor DPI-Aware WPF Application - Win32 apps
Note  This page covers legacy WPF development for Windows 8.1. If you are developing WPF applications for Windows 10, please see the latest documentation on GitHub. .
Geist789
Geist789OP2mo ago
Thanks for the contribution, it has at least solved one of the problems. My management department will look into the issue further and find a solution. Thanks anyway
Want results from more Discord servers?
Add your server