Skip to content
This repository has been archived by the owner on May 14, 2020. It is now read-only.

File Icons are cut off, when windows 10 scales the screen for smaller devices. #9

Open
xFrednet opened this issue Nov 29, 2018 · 1 comment

Comments

@xFrednet
Copy link
Owner

The LinkManager loads the icon of the file to display it in the JMenuItem. Windows 10 introduced a new feature where Apps, Text and Icons can be scaled on smaller devices.

The problem arises, when the scale is more than 100%. I suspect, that the ShellFolder class that is used to load the icon, just creates a Image with a fixed size and than requests the icon from windows, Windows than thinks that it's super clever and draws the scaled icon on the image, cutting it of by the extra scale.

@xFrednet
Copy link
Owner Author

I've tried several ways to load or fix this issue but I was unable to get the icon in the right size.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant