slint/tests/screenshots/cases/software/basic/border.slint
Tasuku Suzuki 346d1c2df3 Fix typos
Ran `typos .` and fixed all typos that do make sense.
https://crates.io/crates/typos
2025-01-13 08:35:20 +01:00

17 lines
692 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
// ROTATION_THRESHOLD=45 - the border radius algorithm don't give the same result from every rotation
TestCase := Window {
width: 64px;
height: 64px;
background: black;
GridLayout {
Rectangle { background: red; border-color: white; border-width: 1px; }
Rectangle { background: #080c; border-radius: 8px; border-width: 5px; border-color: #d005; }
Rectangle { background: blue; border-top-right-radius: 2px; border-bottom-left-radius: 4px; border-width: 4px; border-color: orange; }
}
}