mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-25 13:04:38 +03:00
propertydelegate fixed
This commit is contained in:
parent
21356952c0
commit
881fc08024
@ -74,7 +74,8 @@ void LimeReport::PropertyDelegate::paint(QPainter *painter, const QStyleOptionVi
|
|||||||
option.rect.y()+option.rect.height()
|
option.rect.y()+option.rect.height()
|
||||||
);
|
);
|
||||||
painter->save();
|
painter->save();
|
||||||
painter->setPen(option.palette.color(QPalette::Dark));
|
QColor color = static_cast<QRgb>(QApplication::style()->styleHint(QStyle::SH_Table_GridLineColor, &option));
|
||||||
|
painter->setPen(color);
|
||||||
painter->drawLine(start,end);
|
painter->drawLine(start,end);
|
||||||
painter->restore();
|
painter->restore();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user