mirror of
https://github.com/fralx/LimeReport.git
synced 2025-01-11 17:18:10 +03:00
fixed cosmetic pen
This commit is contained in:
parent
e4dd1b6a86
commit
83da159284
@ -1234,7 +1234,7 @@ QPen BaseDesignIntf::borderPen(BorderSide side/*, bool selected*/) const
|
|||||||
pen.setColor(m_borderColor);
|
pen.setColor(m_borderColor);
|
||||||
if(borderStyle() != BorderStyle::Doubled)
|
if(borderStyle() != BorderStyle::Doubled)
|
||||||
pen.setStyle(static_cast<Qt::PenStyle>(m_borderStyle));
|
pen.setStyle(static_cast<Qt::PenStyle>(m_borderStyle));
|
||||||
pen.setCosmetic(true);
|
//pen.setCosmetic(true);
|
||||||
pen.setWidthF(m_borderLineSize+1); //To draw with point precision (By default: 2px = 1 pt)
|
pen.setWidthF(m_borderLineSize+1); //To draw with point precision (By default: 2px = 1 pt)
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user