Dear all,

I would like to draw a QCPColorMap on a black background, so I use the setBackground(), axisRect()->setBackground() methods to make it black and then I modify the xAxis/yAxis and xAxis2/yAxis2 objects using the setPen(), setBasePen(), setTickPen(), etc. methods, e.g. to make them white.
However, concerning the QCPColorScale I am only able to access one side of the rectangle, i.e. the one where the ticks are located.
How can I change the color of the rectangle holding the color scale? I tried it via the rect() and outerRect() objects, but with no success.

I am still on version 1.3.1, but I couldn't see anything in this regard in the changelog of the newer versions.

Thanks in advance for your help.