mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-02 01:13:19 +00:00
24 lines
681 B
Text
24 lines
681 B
Text
import { Backend } from "Backend.slint";
|
|
import { Button, VerticalBox, CheckBox } from "std-widgets.slint";
|
|
import { SideBar } from "./components/SideBar.slint";
|
|
import { MainView } from "MainView.slint";
|
|
import { SettingsWindow } from "SettingsWindow.slint";
|
|
import { Palette } from "@selenite";
|
|
|
|
export component AppWindow inherits Window {
|
|
|
|
title: "Mirai";
|
|
min-height: 100px;
|
|
max-height: 4000px; // needed, otherwise the window wants to fit the content (on Swaywm)
|
|
default-font-size: 16px;
|
|
|
|
HorizontalLayout {
|
|
SideBar {}
|
|
MainView {
|
|
horizontal-stretch: 1;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
export { Backend, Palette, SettingsWindow } // Export to make it visible to the C++ backend
|