mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14: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;
|
QString curveNameScaled;
|
||||||
if(scaleOrderFactor == 0)
|
if(scaleOrderFactor == 0)
|
||||||
curveNameScaled = curveName + "(" + units + ")";
|
curveNameScaled = curveName + " (" + units + ")";
|
||||||
else
|
else
|
||||||
curveNameScaled = curveName + "(x10^" + QString::number(scaleOrderFactor) + " " + units + ")";
|
curveNameScaled = curveName + " (x10^" + QString::number(scaleOrderFactor) + " " + units + ")";
|
||||||
|
|
||||||
QwtPlotCurve* plotCurve = new QwtPlotCurve(curveNameScaled);
|
QwtPlotCurve* plotCurve = new QwtPlotCurve(curveNameScaled);
|
||||||
plotCurve->setPen(pen);
|
plotCurve->setPen(pen);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user