Hi,
We are trying to make our winforms app dpi aware, but we are having trouble when we use the UltraDockManager.
The areas and panes do not scale, and so everything gets crushed (for example the font increases in size for the titles, but the depth and width of the title bar has not been scaled).
Is there something I am missing, or do I need to find an alternative to the Dock Manager?
Hi Mike,
I used the latest service release (16.2.20162.2040) but the titles to the windows are still not scaled correctly. I attach a screenshot to show what it looks like on my laptop.
Regards
Simon
Hi Simon,
I ran your sample on my laptop (200%) DPI. And it looks fine to me. I don't see any obvious artifacts or problems with the font. Here's a screen shot of what it looks like.
Is there something wrong here that I'm not seeing? Or are you getting different results? If the latter, then try getting the latest service release, because that's what I'm using.
Attached project
I created a little test app to see what controls are giving me issues.
I started with just the UltraButton and UltraTab controls and they rendered fine on my laptop (screen DPI set at 192, scaling at 200%)
I then added the UltraDockManager as we rely heavily on that, and this is when the issues started with the scaling of the title bars, and the width of the panels.
When the DPI Aware setting is enabled, all of the automatic scaling that Windows does is disabled. This is because the DPI Aware setting tells Windows that this application knows to check for the system DPI and respond based on the current DPI settings. You may be seeing these issues if you have not yet accommodated for DPI settings in your application. You can read more about writing DPI Aware applications here: https://msdn.microsoft.com/en-us/library/windows/desktop/dn469266(v=vs.85).aspx
That being said, we have heard of DPI-related artifacts that appear to be related to an issue in our tool. We are actively working to isolate this issue so we can resolve it. Are you able to send a reproduction sample that we can use to debug? Please include as much information about your environment as possible -- this issue appears to be very sensitive to system settings.