1#![allow(deprecated)]slint::slint!{#[include_path=r#"/input/slint/tests/driver/driverlib/../../cases/layout"#]
2// Copyright © SixtyFPS GmbH <info@slint.dev>
3// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial
4
5export Testcase := Window {
6 preferred-width: 640px;
7 preferred-height: 480px;
8 f := Flickable {
9 for blah in 1: HorizontalLayout {
10 Rectangle { height: 55px; }
11 }
12 }
13
14 VerticalLayout {
15 r := Rectangle {
16 for blah in 1: HorizontalLayout {
17 Rectangle { height: 44px; }
18 }
19 }
20 }
21
22 // FIXME(#407)
23 //property <bool> test: f.preferred-height == 55px && f.viewport-height == 55px && r.preferred-height == 44px;
24}
25}
26