Yes, that’s what you’d think, but the scroll bar background is white also.
The old working code is below, this filled the background and then painted a border along with some rounded images for the corners. This funtion though is not being called with the latest release Juce. I did though manage to get the background to be filled, using setColour(ListBox::backgroundColourId,Colours::black), but now I don’t know how to draw the corners etc because the paint function is still not being called. I thought it might be that it was now under the look and feel, but that doesn’t seem to make any difference either…
void FAWListBox::paint(Graphics& g)
{
g.fillAll (Colours::black);
g.drawImage(mTopleft,0,0,3,3,0,0,3,3,true);
g.drawImage(mBottomleft,0,getHeight()-3,3,3,0,0,3,3,true);
g.drawImage(mTopRight,getWidth()-3,0,3,3,0,0,3,3,true);
g.drawImage(mBottomRight,getWidth()-3,getHeight()-3,3,3,0,0,3,3,true);
g.drawLine(3,0,getWidth()-3,0);
g.drawLine(3,getHeight()-1,getWidth()-3,getHeight()-1);
g.drawLine(0,3,0,getHeight()-3);
g.drawLine(getWidth()-1,3,getWidth()-1,getHeight()-3);
}