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
4export Testcase := Window {
5 preferred-width: 640px;
6 preferred-height: 480px;
7 f := Flickable {
8 for blah in 1: HorizontalLayout {
9 Rectangle { height: 55px; }
10 }
11 }
12
13 VerticalLayout {
14 r := Rectangle {
15 for blah in 1: HorizontalLayout {
16 Rectangle { height: 44px; }
17 }
18 }
19 }
20
21 // FIXME(#407)
22 //property <bool> test: f.preferred-height == 55px && f.viewport-height == 55px && r.preferred-height == 44px;
23}
24