slint/sixtyfps_compiler/tests/syntax/basic/box_shadow.60
2021-01-28 09:12:06 +01:00

19 lines
740 B
Text

/* LICENSE BEGIN
This file is part of the SixtyFPS Project -- https://sixtyfps.io
Copyright (c) 2020 Olivier Goffart <olivier.goffart@sixtyfps.io>
Copyright (c) 2020 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 := Rectangle {
drop-shadow-color: #00000080;
// ^error{The drop_shadow_color property cannot be used on the root element}
Text {
drop-shadow-color: black;
// ^error{The drop_shadow_color property is only supported on Rectangle and Clip elements right now}
}
}