Skip to content

Commit

Permalink
Test for previous commit
Browse files Browse the repository at this point in the history
(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)
  • Loading branch information
ogoffart committed Mar 7, 2024
1 parent d7840d6 commit 4733977
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/screenshots/cases/software/basic/text.slint
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright © SixtyFPS GmbH <info@slint.dev>
// 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;
height: 64px;
VerticalLayout {
Expand All @@ -12,7 +12,8 @@ TestCase := Window {
font-size: 10px;
}
Text {
text: "Hello";
// note: j has negative bearing
text: "jello";
color: #abcd;
opacity: 0.9;
font-size: 10px;
Expand Down
Binary file modified tests/screenshots/references/software/basic/text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4733977

Please sign in to comment.