2
This commit is contained in:
parent
1482b738bc
commit
a654d5a9a9
|
|
@ -12542,8 +12542,8 @@ void QMyCustomPlot::vertScrollBarChanged_setGeometry(QString strUuid, double val
|
||||||
double dDelta = value; //- upper
|
double dDelta = value; //- upper
|
||||||
double dPercent = dDelta / (low-upper);
|
double dPercent = dDelta / (low-upper);
|
||||||
|
|
||||||
move(geoRect.x(), -(dPercent*geoRect.height()));
|
//move(geoRect.x(), -(dPercent*geoRect.height()));
|
||||||
//setGeometry(geoRect.x(), -(dPercent*geoRect.height()), geoRect.width(), geoRect.height());
|
setGeometry(geoRect.x(), -(dPercent*geoRect.height()), geoRect.width(), geoRect.height());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user