mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-17 02:52:12 +01:00
OP-857 OP-858 Added space between name and unit in Scope gadget legend
This commit is contained in:
parent
ffbb0a5a8e
commit
31e3e73799
@ -432,9 +432,9 @@ void ScopeGadgetWidget::addCurvePlot(QString uavObject, QString uavFieldSubField
|
||||
|
||||
QString curveNameScaled;
|
||||
if(scaleOrderFactor == 0)
|
||||
curveNameScaled = curveName + "(" + units + ")";
|
||||
curveNameScaled = curveName + " (" + units + ")";
|
||||
else
|
||||
curveNameScaled = curveName + "(x10^" + QString::number(scaleOrderFactor) + " " + units + ")";
|
||||
curveNameScaled = curveName + " (x10^" + QString::number(scaleOrderFactor) + " " + units + ")";
|
||||
|
||||
QwtPlotCurve* plotCurve = new QwtPlotCurve(curveNameScaled);
|
||||
plotCurve->setPen(pen);
|
||||
|
Loading…
x
Reference in New Issue
Block a user