[qet] [2953] cross ref item: refresh table align |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 2953
Author: scorpio810
Date: 2014-04-01 03:45:53 +0200 (Tue, 01 Apr 2014)
Log Message:
-----------
cross ref item: refresh table align
Modified Paths:
--------------
trunk/sources/qetgraphicsitem/crossrefitem.cpp
Modified: trunk/sources/qetgraphicsitem/crossrefitem.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/crossrefitem.cpp 2014-04-01 01:27:18 UTC (rev 2952)
+++ trunk/sources/qetgraphicsitem/crossrefitem.cpp 2014-04-01 01:45:53 UTC (rev 2953)
@@ -290,8 +290,8 @@
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();