> For drawing table cell boundaries, LyX sets the style of a QPen in the > following way: > > QPen pen = ...; > pen.setColor("LightSteelBlue"); > pen.setStyle(QPen:DotLine); > pen.setWidth(0); > > As a result, a thin blue dotted line should be drawn when using this > pen. But instead, a black (sometimes red) solid line is draw (the color > may depend on former drawing operations).
I've attached a small patch to fix this problem. It happens because ExtCreatePen can't create pens with a width of 0. Christian -- Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl
qpainter_win.cpp.patch
Description: Binary data