ListBox colour issue


#1

With ListBox, if i do…

list->setColour(ListBox::backgroundColourId,colour.withAlpha(x));

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

any ideas?


#2

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?


#3

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


#4

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


#5