1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Fixed redraw issue

This commit is contained in:
Martin Tůma 2016-03-23 09:47:02 +01:00
parent a2eaacc017
commit 9c16c3498c

View File

@ -90,7 +90,7 @@ void AxisItem::updateBoundingRect()
_boundingRect = QRectF(-(ls.height() + mtw + 2*PADDING _boundingRect = QRectF(-(ls.height() + mtw + 2*PADDING
- fm.descent() + TICK/2), -(_size + es.height()/2 - fm.descent() + TICK/2), -(_size + es.height()/2
+ fm.descent()), ls.height() -fm.descent() + es.width() + 2*PADDING + fm.descent()), ls.height() -fm.descent() + mtw + 2*PADDING
+ TICK, _size + es.height()/2 + fm.descent() + ss.height()/2); + TICK, _size + es.height()/2 + fm.descent() + ss.height()/2);
} }
} }