I have PNG icons for my Delphi XE3 application toolbar that, when added to a TActionToolbar
via a TImageList
, the alpha channel renders darker than it should, causing the icons to look bad. I think the issue has to do with the TImageList
and not something specifically with the TActionToolbar
.
Photoshop mockup:
Actual look after importing to TActionToolbar
(alpha is darker blue for the folder fill):
Here are my Delphi Object Inspector settings for the TImageList
(no, the issue is not the BlendColor
property):
Is there a way to get Delphi/Windows/whoever the culprit is to render the alpha channel properly? An option is to make the icons all bitmaps, but I'd rather not go through the headache of editing bitmaps with a transparent color because, well, I'd rather not revert to the days of the dinosaurs... TIA.
TImageList.ColorDepth
tocd32bit
. – Ken White