mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-10 05:39:16 +00:00

Base the commercial license on the Royalty-free license adding clauses pertaining to the fees.
14 lines
443 B
Text
14 lines
443 B
Text
// Copyright © SixtyFPS GmbH <info@slint.dev>
|
|
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0
|
|
|
|
export component Test {
|
|
property <bool> condition;
|
|
|
|
GridLayout {
|
|
// Issue #3729
|
|
if (condition) : r := Row {
|
|
// ^error{'if' or 'for' expressions are not currently supported in grid layouts}
|
|
Rectangle {}
|
|
}
|
|
}
|
|
}
|