mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-29 02:22:09 +08:00
cabana: fix chart margins (#26125)
old-commit-hash: 544526edeb343d4b6f9c7c6f2521659c34d37012
This commit is contained in:
@@ -184,6 +184,7 @@ ChartView::ChartView(const QString &id, const Signal *sig, QWidget *parent)
|
||||
font.setBold(true);
|
||||
chart->setTitleFont(font);
|
||||
chart->setMargins({0, 0, 0, 0});
|
||||
chart->layout()->setContentsMargins(0, 0, 0, 0);
|
||||
|
||||
track_line = new QGraphicsLineItem(chart);
|
||||
track_line->setPen(QPen(Qt::gray, 1, Qt::DashLine));
|
||||
|
||||
Reference in New Issue
Block a user