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 SuperSimple := Window {
5
6 opacity: 0.5;
7// ^warning{The opacity property cannot be used on the root element, it will not be applied}
8
9 Rectangle {
10 opacity: false;
11// ^error{Cannot convert bool to float}
12 }
13
14 visible: false;
15// ^warning{The visible property cannot be used on the root element, it will not be applied}
16
17}
18