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:
parent
2d7209e1d8
commit
8c8fedd7f7
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user