mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-17 13:24:15 -05:00
small fix to statistics view
This commit is contained in:
parent
eb30af57bd
commit
7a19deea03
@ -644,7 +644,7 @@ void RSGraphWidget::paintScale1()
|
|||||||
QString text = _source->displayValue(scale) ;
|
QString text = _source->displayValue(scale) ;
|
||||||
|
|
||||||
_painter->setPen(SCALE_COLOR);
|
_painter->setPen(SCALE_COLOR);
|
||||||
_painter->drawText(QPointF(5*fact, pos+0.4*FS), text);
|
_painter->drawText(QPointF(SCALE_WIDTH*fact - QFontMetricsF(font()).width(text) - 4*fact, pos+0.4*FS), text);
|
||||||
_painter->setPen(GRID_COLOR);
|
_painter->setPen(GRID_COLOR);
|
||||||
_painter->drawLine(QPointF(SCALE_WIDTH*fact, pos), QPointF(_rec.width(), pos));
|
_painter->drawLine(QPointF(SCALE_WIDTH*fact, pos), QPointF(_rec.width(), pos));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user