// Copyright © SixtyFPS GmbH // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial X := Rectangle { PathLayout { for item[index] in [ {name: "First Item"}, {name: "Second Item"} ] : Text { text: item.name; } x: 50phx; y: 50phx; LineTo { x: 300; y: 300; } } }