I am using image list images to show as left and right images. The images are drawn poorly and not blending. The same imagelist images are drawn correctly on other TMS components such as glow buttons etc.
The sample project for SmoothComboBox uses GraphicLeft property which is TPicture. If I clear that property and use Imagelist instead, it has exactly same drawing problems.
The GraphicLeft has a GraphicLeftWidth and GraphicLeftHeight property which are 25 and 30 by default. The image is stretch drawn, so you will need to change those properties to match the imagelist dimensions of 16x16 or 24x24.
If you are painting transparent images, please consider using the GDIPPictureContainer instead of an ImageList and set the GraphicLeftName instead of the GraphicLeftIndex.
Still, can you confirm this is a bug? I am not looking for workaround, I rather stop using SmoothComboBox component. The problem is I use these images all over the application and have hundreds of them already in imagelists, and it works fine elsewhere, so I don't want to change that.
We are unable to reproduce this, we have added a Bitmap with a transparent background and this is rendered correctly, can you send us a sample of the images so we can verify if the issue can be reproduced?
Please download the sample project demonstrating the problem from here:
http://trikvetra.no/AdvSmoothComboBox2.zip
There is also screenshot to show how it looks on my PC. The standard Combo box shows it correct, as well as AdvToolbar with glow button. SmoothComboBox shows black edges.