1// Copyright © SixtyFPS GmbH <info@slint.dev>
2// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0
3
4component Wrapper {
5 width: 100%;
6 height: 100%;
7
8 Rectangle {
9// ^error{The binding for the property 'layoutinfo-h' is part of a binding loop}
10 VerticalLayout {
11// ^error{The binding for the property 'layoutinfo-h' is part of a binding loop}
12 if root.width > 200px: Rectangle { }
13 }
14 }
15}
16
17component WrapperInherited inherits Rectangle {
18// ^error{The binding for the property 'layoutinfo-h' is part of a binding loop}
19 VerticalLayout {
20// ^error{The binding for the property 'layoutinfo-h' is part of a binding loop}
21 if root.width > 200px: Rectangle { }
22 }
23}
24
25export component Test inherits Window {
26
27 VerticalLayout {
28 HorizontalLayout {
29// ^error{The binding for the property 'width' is part of a binding loop}
30// ^^error{The binding for the property 'width' is part of a binding loop}
31// ^^^error{The binding for the property 'layout-cache' is part of a binding loop}
32 WrapperInherited { }
33 Wrapper { }
34// ^error{The binding for the property 'layoutinfo-h' is part of a binding loop}
35 }
36 }
37}