-
Notifications
You must be signed in to change notification settings - Fork 736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Close and Auto Hide buttons are not scaled in 4K screen with 200% DPI #693
Comments
This is because the actual code to generate such images on the fly was not written with HDPI in mind. You might modify the code to adapt to the needs and send back a pull request if you like. |
Apparently the way this works is there is a bitmap somewhere in that gzipped resource somehow. In VS2012 theme, there is an ImageService with those https://github.com/dockpanelsuite/dockpanelsuite/blob/master/WinFormsUI/ThemeVS2012/ImageService.cs . Apparently the 2015 theme uses it too. There it uses |
I wish it was possible to reject different images at runtime. Because, if an application has SVG formatted images, and if it has ability to convert SVG to Image at runtime (using the current scale), DockPanelSuite should use these images instead of embedded ones. |
It looks like the images are not scaled and they look very small when DPI scaling is set.
Here is how they look:
I've tried to play with the "enableHighDpi" patch, but it didn't help.
I'm using:
The text was updated successfully, but these errors were encountered: