Degrading transparency in TsTreeView Icons

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #36713
    MartinF
    Participant

    Hello,

    I have a little problem with icons used in TsTreeView. The Icons are .png images in a TsImageList with transparent and semi transparent parts.

    When the application starts they look fine, but after not having focus for a while the semitransparent colors lose their transparency and the icon looks bloated. If a slelect a list item it will look fina again, and it will continue too look fine for a while even if it is not selected.

    [attachment=7363:example.png]

    In the example image all icons went bloated. I klicked on the top icon, and then on the second item. They now both look ok, but not the rest. After a little while they all go back to beeing bloated.

    Any idéas on what the problem is, and on how to solve it?

    Regards,

    Martin

    #54162
    Support
    Keymaster

    Hello

    Do you uses the TsAlphaImageList component?

    Maybe you have a demo which I can look?

    #54192
    MartinF
    Participant

    Hi,

    Yes I use the TsAlphaImageList component for the icons.

    I have a small example here. [attachment=7374:Degrading_Icons_example.zip]

    It would be great if you could find some explanation, and some way to avoid it.

    Regards,

    Martin

    #54203
    Support
    Keymaster

    Thank you for the demo.

    I see the problem, but I have no idea how to fix it unfortunately. These glyphs are drawn by system here.

    I will think how to improve that.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.