优化曲线

This commit is contained in:
2020-07-07 18:02:33 +08:00
parent 198e5c168f
commit 892cd0bf1e
4 changed files with 124 additions and 34 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ OPMapWidget::OPMapWidget(QWidget *parent, Configuration *config) : QGraphicsView
altitudeitem = new AltitudeItem(map,Qt::red);
altitudeitem->setParentItem(map);
altitudeitem->setPos(0,this->height() - altitudeitem->boundingRect().height());
altitudeitem->setPos(0,(this->height() - altitudeitem->boundingRect().height())/2);
}