Test for previous commit

(This is in a different commit because the previous commit don't break
the test being changed. But i'm changing an existing test to add coverage
without adding another screenshot test which are a bit costly)
This commit is contained in:
Olivier Goffart 2024-03-07 10:05:37 +01:00
parent 5a4e24529b
commit e161535bab
2 changed files with 3 additions and 2 deletions

View file

@ -1,7 +1,7 @@
// Copyright © SixtyFPS GmbH <info@slint.dev> // Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial
TestCase := Window { export component TestCase inherits Window {
width: 64px; width: 64px;
height: 64px; height: 64px;
VerticalLayout { VerticalLayout {
@ -12,7 +12,8 @@ TestCase := Window {
font-size: 10px; font-size: 10px;
} }
Text { Text {
text: "Hello"; // note: j has negative bearing
text: "jello";
color: #abcd; color: #abcd;
opacity: 0.9; opacity: 0.9;
font-size: 10px; font-size: 10px;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Before After
Before After