mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 22:31:14 +00:00

Since we add a window earlier in the pass, the warning was no more shown Also don't add a window in front of a PopupWindow
20 lines
652 B
Text
20 lines
652 B
Text
/* LICENSE BEGIN
|
|
This file is part of the SixtyFPS Project -- https://sixtyfps.io
|
|
Copyright (c) 2021 Olivier Goffart <olivier.goffart@sixtyfps.io>
|
|
Copyright (c) 2021 Simon Hausmann <simon.hausmann@sixtyfps.io>
|
|
|
|
SPDX-License-Identifier: GPL-3.0-only
|
|
This file is also available under commercial licensing terms.
|
|
Please contact info@sixtyfps.io for more information.
|
|
LICENSE END */
|
|
SuperSimple := Window {
|
|
|
|
opacity: 0.5;
|
|
// ^warning{The opacity property cannot be used on the root element, it will not be applied}
|
|
|
|
Rectangle {
|
|
opacity: false;
|
|
// ^error{Cannot convert bool to float}
|
|
}
|
|
|
|
}
|