Hi there,
I've got an UltraComboEditor in which I am displaying a custom image for each item.Each image is 24x24 pixels.I can make it display nicely for the selected item by setting AutoSize = false; and then increasing the control height accordingly.However, when view the items in the drop down list, the images are shrunk down and look poor.If I increase the font size, the image looks good, but the text is way too big!
Is there any way that I can override the height of each list item such that the image displays nicely, rather than being based on the font size?
Cheers,
James
Hi James,
This should do it:
this.ultraComboEditor1.ValueList.ScaleItemImage = ScaleImage.Never;
Hi Mike,
Thanks for the swift reply!!
That's resolved it, but created another issue...
With ScaleImage.Never, the drop down list height it still being calculated based on the font size.This means that I now only see 3 items in the list instead of 8!
Is there an associated property I need to play with to get this looking better too?