[qet] [4522] Improve painter draw Text for XREF

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


Revision: 4522
Author:   scorpio810
Date:     2016-05-25 16:53:07 +0200 (Wed, 25 May 2016)
Log Message:
-----------
Improve painter draw Text for XREF

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

Modified: trunk/sources/qetgraphicsitem/crossrefitem.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/crossrefitem.cpp	2016-05-25 14:49:33 UTC (rev 4521)
+++ trunk/sources/qetgraphicsitem/crossrefitem.cpp	2016-05-25 14:53:07 UTC (rev 4522)
@@ -479,7 +479,7 @@
 			}
 		}
 
-		painter.drawText(20, offset, 30, 10, Qt::AlignRight | Qt::AlignVCenter, str);
+		painter.drawText(30, offset, 50, 10, Qt::AlignLeft | Qt::AlignVCenter, str);
 		++m_drawed_contacts;
 	}
 


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