diff --git a/src/libs/vtools/dialogs/tools/dialogdetail.ui b/src/libs/vtools/dialogs/tools/dialogdetail.ui index 165a4b4b7..418b88edf 100644 --- a/src/libs/vtools/dialogs/tools/dialogdetail.ui +++ b/src/libs/vtools/dialogs/tools/dialogdetail.ui @@ -390,32 +390,6 @@ - - - - 10 - 40 - 101 - 16 - - - - Name of detail: - - - - - - 110 - 40 - 151 - 23 - - - - 15 - - @@ -503,57 +477,71 @@ - + - 9 - 9 - 40 - 16 + 0 + 0 + 271 + 61 - - Letter: - + + + + + Letter: + + + + + + + 3 + + + + + + + Name of detail: + + + + + + + 15 + + + + - + - 110 - 10 - 151 - 23 - - - - 3 - - - - - - 10 + 0 230 - 141 - 21 + 261 + 80 - - Detail label visible - - - - - - 10 - 260 - 141 - 21 - - - - Pattern label visible - + + + + + Detail label visible + + + + + + + Pattern label visible + + + + diff --git a/src/libs/vtools/tools/vtextgraphicsitem.cpp b/src/libs/vtools/tools/vtextgraphicsitem.cpp index 2e3c2fe68..5975462dd 100644 --- a/src/libs/vtools/tools/vtextgraphicsitem.cpp +++ b/src/libs/vtools/tools/vtextgraphicsitem.cpp @@ -122,8 +122,7 @@ void VTextGraphicsItem::paint(QPainter *painter, const QStyleOptionGraphicsItem painter->setPen(Qt::black); painter->setBrush(Qt::black); painter->drawEllipse( - m_rectBoundingBox.width()/2, - m_rectBoundingBox.height()/2, + QPointF(m_rectBoundingBox.width()/2, m_rectBoundingBox.height()/2), ROTATE_CIRCLE, ROTATE_CIRCLE );