diff options
Diffstat (limited to 'imports/Diagrams/UmlSequence/ObjectInstance.qml')
-rw-r--r-- | imports/Diagrams/UmlSequence/ObjectInstance.qml | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/imports/Diagrams/UmlSequence/ObjectInstance.qml b/imports/Diagrams/UmlSequence/ObjectInstance.qml index ea5293d..b8dea17 100644 --- a/imports/Diagrams/UmlSequence/ObjectInstance.qml +++ b/imports/Diagrams/UmlSequence/ObjectInstance.qml @@ -43,6 +43,7 @@ Rectangle { width: implicitWidth height: 45 border.color: "black" + antialiasing: true property alias objectName: objectNameLabel.text property alias objectClass: objectClassLabel.text property string q @@ -82,23 +83,23 @@ Rectangle { height: parent.parent.height - parent.y - parent.height source: "../common/images/vdash5.png" fillMode: Image.TileVertically - Repeater { - model: parent.height / 1000 - Rectangle { - y: 500 + index * 1000 - z: 0 - anchors.horizontalCenter: dashline.horizontalCenter - rotation: -90 - width: rotatedLabel.width - height: rotatedLabel.height - opacity: 0.6 - Text { - id: rotatedLabel - color: "darkblue" - text: objectClassLabel.text - anchors.centerIn: parent + Repeater { + model: parent.height / 1000 + Rectangle { + y: 500 + index * 1000 + z: 0 + anchors.horizontalCenter: dashline.horizontalCenter + rotation: -90 + width: rotatedLabel.width + height: rotatedLabel.height + opacity: 0.6 + Text { + id: rotatedLabel + color: "darkblue" + text: objectClassLabel.text + anchors.centerIn: parent + } } } } - } } |