mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-31 15:47:26 +00:00
22 lines
463 B
Text
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;
|
|
}
|
|
}
|