1#![allow(deprecated)]slint::slint!{#[include_path=r#"/input/slint/tests/driver/driverlib/../../cases/crashes"#]
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
5
6export Btn := Rectangle {
7 min-height: max(32px, l.min-height);
8 l := HorizontalLayout {
9 if (false): button_in_image := Image {
10 width: 24px;
11 }
12 text := Text { }
13 }
14}
15
16export TestCase := Window {
17 x := HorizontalLayout {
18 btn := Btn {}
19 }
20}
21}
22