SmoothCombobox issue

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.

Can you confirm this is a bug?

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.


Kind Regards, 
Pieter

Hi Pieter,

the size I use is correct in both imagelist and GraphicLeft, 32*32.
The problem is not stretch, it is the semi-transparent area on edges which is painted black.
In the same application, same image list, same images paint OK on other components so the problem is nit in imagelist.

If you are painting transparent images, please consider using the GDIPPictureContainer instead of an ImageList and set the GraphicLeftName instead of the GraphicLeftIndex.


Kind Regards, 
Pieter

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?

Interesting, I hope it is some setting on my side.

I will test more tonight and make sample app if the problem persists.

Thank you.
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.

Can you see the problem in the sample I provided?

Hi, 


Yes we are able to reproduce this here and are currently investigating this.

Kind Regards, 
Pieter

Hi, 


We have been able to trace and solve this issue, the next version will address this issue.

Kind Regards, 
Pieter

Excellent, looking forward for new update!