> Hi all,
> Until now, I used EnumEditor to display the list of available colormaps
> in my Traits apps.
> http://ktools.free.fr/snapshot1.png >
> Now, I think using ImageEnumEditor is more sexy.
> http://ktools.free.fr/snapshot2.png >
> But in this case, I did not have anymore the vertical slider I got
> with EnumEditor, so I can't choose the colormap I want (and I don't want
> to display all available colormaps at once, like in Mayavi).
> Any clue?
Looking at the demo in the Traits examples, it seems pretty buggy. It
works reasonably well with Qt, but on Wx, the standard editor's popup
window works sporadically at best.
If you feel only slightly adventurous, you can look at the changes I
make to the ColorEditor to draw colored boxes in the combo box, and
change the ImageEnumEditor to do the same instead of the broken popup
window. I'll gladly accept a patch for that.