[qet] [2954] cross ref item: bug fix

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 2954
Author:   scorpio810
Date:     2014-04-01 03:58:37 +0200 (Tue, 01 Apr 2014)
Log Message:
-----------
cross ref item: bug fix

Modified Paths:
--------------
    trunk/sources/qetgraphicsitem/crossrefitem.cpp

Modified: trunk/sources/qetgraphicsitem/crossrefitem.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/crossrefitem.cpp	2014-04-01 01:45:53 UTC (rev 2953)
+++ trunk/sources/qetgraphicsitem/crossrefitem.cpp	2014-04-01 01:58:37 UTC (rev 2954)
@@ -290,8 +290,8 @@
 		contact_str += elmt->diagram()->convertPosition(elmt -> scenePos()).toString();
 		contact_str += "\n";
 	}
-	QRectF rect_(half_cross-30, header, half_cross, (bounding_rect_.height()-header));
-	painter.drawText(rect_, Qt::AlignTop | Qt::AlignRight, contact_str);
+	QRectF rect_(half_cross-26, header, half_cross, (bounding_rect_.height()-header));
+	painter.drawText(rect_, Qt::AlignTop | Qt::AlignLeft, contact_str);
 
 	//fill the NC
 	contact_str.clear();


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/