Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Qml 'PathLine'- Controlling Spread of Elements

$
0
0
Hi, I’m at my wit’s end for how to control the spread of elements when using PathLine. At the moment everything is perfect except the overall spread is too large so elements are being cut off. Currently three elements are present on screen which is the intention. All I want to do is pull them in closer to each other. This is the code: (root is the initial Rectangle, root.width is the same size as the application’s width so if full screen on a 1080p screen it will be 1920 (as in, 1920×1080)) path: Path {     objectName: "path"     startX: 0     startY: 0     PathLine { objectName: "pathLine"; x: appModel.count * root.width / 2; y: 0} }

Viewing all articles
Browse latest Browse all 4972

Trending Articles