slint/examples/fancy-switches/demo.slint
Olivier Goffart 3e94bd2167 Janitor: Remove trailing whitespaces from all files
`git grep -I -l -O'sed -i "s/[[:space:]]*$//"' -e ''`
2025-01-10 13:23:22 +01:00

22 lines
463 B
Text

// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: MIT
import { DarkModeSwitch } from "DarkModeSwitch.slint";
import { SunMoonSwitch } from "SunMoonSwitch.slint";
export component AppWindow inherits Window {
preferred-width: 600px;
preferred-height: 450px;
background: #e3e3e3;
DarkModeSwitch {
x: 200px;
y: 100px;
}
SunMoonSwitch {
x: 200px;
y: 250px;
scale: 1;
}
}