1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 11:45:53 +01:00

(Hopefully) Fixed graph rendering issues in some styles

This commit is contained in:
Martin Tůma 2019-01-04 20:23:02 +01:00
parent 2d7209e1d8
commit 8c8fedd7f7

View File

@ -31,6 +31,7 @@ GraphView::GraphView(QWidget *parent)
setRenderHint(QPainter::Antialiasing, true); setRenderHint(QPainter::Antialiasing, true);
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setBackgroundBrush(QBrush(palette().brush(QPalette::Base)));
_xAxis = new AxisItem(AxisItem::X); _xAxis = new AxisItem(AxisItem::X);
_xAxis->setZValue(2.0); _xAxis->setZValue(2.0);