--- a/Snapshot/SnapshotFreehandGrabber.py Sat Oct 19 16:51:12 2013 +0200 +++ b/Snapshot/SnapshotFreehandGrabber.py Sat Oct 19 17:42:18 2013 +0200 @@ -176,7 +176,7 @@ boundingRect.moveCenter(polBoundingRect.center()) textRect.moveCenter(polBoundingRect.center()) elif polBoundingRect.y() - 3 > textRect.height() and \ - polBoundingRect.x() + textRect.width() < self.rect().width(): + polBoundingRect.x() + textRect.width() < self.rect().width(): # on top, left aligned boundingRect.moveBottomLeft( QPoint(polBoundingRect.x(), polBoundingRect.y() - 3)) @@ -190,7 +190,7 @@ QPoint(polBoundingRect.x() - 5, polBoundingRect.y())) elif (polBoundingRect.bottom() + 3 + textRect.height() < self.rect().bottom()) and \ - polBoundingRect.right() > textRect.width(): + polBoundingRect.right() > textRect.width(): # at bottom, right aligned boundingRect.moveTopRight( QPoint(polBoundingRect.right(), polBoundingRect.bottom() + 3))