1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-27 21:24:47 +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);
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setBackgroundBrush(QBrush(palette().brush(QPalette::Base)));
_xAxis = new AxisItem(AxisItem::X);
_xAxis->setZValue(2.0);