From 28e41fd4cb93ba83e5d14769556806668b9e138a Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Tue, 1 Apr 2014 01:45:53 +0000 Subject: [PATCH] cross ref item: refresh table align git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2953 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/qetgraphicsitem/crossrefitem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/qetgraphicsitem/crossrefitem.cpp b/sources/qetgraphicsitem/crossrefitem.cpp index e1d39eada..74282cb52 100644 --- a/sources/qetgraphicsitem/crossrefitem.cpp +++ b/sources/qetgraphicsitem/crossrefitem.cpp @@ -290,8 +290,8 @@ void CrossRefItem::fillCrossRef(QPainter &painter) { contact_str += elmt->diagram()->convertPosition(elmt -> scenePos()).toString(); contact_str += "\n"; } - QRectF rect_(half_cross-22, header, half_cross, (bounding_rect_.height()-header)); - painter.drawText(rect_, Qt::AlignTop | Qt::AlignLeft, contact_str); + QRectF rect_(half_cross-30, header, half_cross, (bounding_rect_.height()-header)); + painter.drawText(rect_, Qt::AlignTop | Qt::AlignRight, contact_str); //fill the NC contact_str.clear();