mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-28 21:04:47 +00:00

Updated the version from 1.1 to 1.2 Renamed the header to "Slint Royalty-free Desktop, Mobile, and Web Applications License" Added definition of "Mobile Application" and grant of right Moved "Limitations" to 3rd section and "License Conditions - Attributions" to 2nd section Added flexibility to choose between showing "MadeWithSlint" as a dialog/splash screen or on a public webpage Moved the para on copyright notices to section under "Limitations"
15 lines
1.1 KiB
Text
15 lines
1.1 KiB
Text
// Copyright © SixtyFPS GmbH <info@slint.dev>
|
|
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.2 OR LicenseRef-Slint-commercial
|
|
|
|
export component SuperSimple {
|
|
property <image> i17: @image-url("foo", nine-slice(1px));
|
|
// ^error{Border widths of a nine-slice can't have units}
|
|
property <image> i18: @image-url("foo", nine-slice(1%));
|
|
// ^error{Border widths of a nine-slice can't have units}
|
|
property <image> i22: @image-url("foo", nine-slice(123456789));
|
|
// ^error{Number too big}
|
|
property <image> j01: @image-url("foo", nine-slice(1 52deg 456456456 12abc));
|
|
// ^error{Border widths of a nine-slice can't have units}
|
|
// ^^error{Border widths of a nine-slice can't have units}
|
|
// ^^^error{Number too big}
|
|
}
|