cross ref item: refresh table align

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2953 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2014-04-01 01:45:53 +00:00
parent e506f057c4
commit 28e41fd4cb

View File

@@ -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();