ListBox colour issue

With ListBox, if i do…


… if x>0.998f then the items do not get drawn! If x <= 0.998f then the items magically appear.

any ideas?

It draws itself slightly differently if the background is opaque, but it shouldn’t affect the items in it… Are you doing any custom stuff?

yeah, but it just amounts to an implementation of paintListBoxItem().

seems to work ok here. Is there something you could tweak in the jucedemo to reproduce it?