mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-14 23:51:09 +00:00

Base the commercial license on the Royalty-free license adding clauses pertaining to the fees.
24 lines
705 B
Text
24 lines
705 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 Test := Rectangle {
|
|
property <bool> condition;
|
|
|
|
GridLayout {
|
|
Row {
|
|
if (condition): Text {
|
|
// ^error{'if' or 'for' expressions are not currently supported in grid layouts}
|
|
}
|
|
}
|
|
|
|
if (condition): Text {
|
|
// ^error{'if' or 'for' expressions are not currently supported in grid layouts}
|
|
|
|
}
|
|
|
|
for x in 5: Text {
|
|
// ^error{'if' or 'for' expressions are not currently supported in grid layouts}
|
|
|
|
}
|
|
}
|
|
}
|