diff --git a/logPlus/qmycustomplot.cpp b/logPlus/qmycustomplot.cpp index e28520d..a56831e 100644 --- a/logPlus/qmycustomplot.cpp +++ b/logPlus/qmycustomplot.cpp @@ -12558,7 +12558,7 @@ void QMyCustomPlot::vertScrollBarChanged(QString strUuid, double value, double l return; } QRect geoRect = geometry(); - setGeometry(0, 0, geoRect.width(), geoRect.height()); + setGeometry(geoRect.x(), geoRect.y(), geoRect.width(), geoRect.height()); // FormInfo* pInfo = m_formTrack->getFormInfoByParameters(m_strUuid, m_strWellName, m_strTrackName, m_strLineName);