aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/painteditem/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/painteditem/main.qml')
-rw-r--r--examples/quick/painteditem/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/painteditem/main.qml b/examples/quick/painteditem/main.qml
index 182fdc986..3b5999ae0 100644
--- a/examples/quick/painteditem/main.qml
+++ b/examples/quick/painteditem/main.qml
@@ -62,7 +62,7 @@ Item {
anchors.top: parent.top
id: balloonView
delegate: TextBalloon {
- anchors.right: index % 2 == 0 ? undefined : parent.right
+ anchors.right: index % 2 == 0 ? undefined : balloonView.contentItem.right
height: 60
rightAligned: index % 2 == 0 ? false : true
width: balloonWidth