Skip to content
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

Ugly disabled icon drawing with normal TImageList #94

Closed
benok opened this issue Jul 14, 2021 · 1 comment
Closed

Ugly disabled icon drawing with normal TImageList #94

benok opened this issue Jul 14, 2021 · 1 comment

Comments

@benok
Copy link

benok commented Jul 14, 2021

Hi,
Thank you for developing SpTBXLib! I really appreciate your work. :-)

I'm planning to support DPI awareness of my app built with SpTBXLib.

I updated SpTBXLib from an old version to latest git master branch version,
I found my app's disabled icon looks ugly (like normal TToolbar).

I found new TVirtualImageList drawing routine fallbacks to normal TImageList.
https://github.com/SilverpointDev/sptbxlib/blob/master/TB2K%20Patch/tb2kdiff.txt#L270

I think it should be drawn as before.

@SilverpointDev
Copy link
Owner

Fixed.
Improved the painting on older versions of Delphi.
Improved the painting when the ImageList is not a VirtualImageList.

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

No branches or pull requests

2 participants