mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-02 01:13:19 +00:00
27 lines
905 B
Text
27 lines
905 B
Text
|
import { AppWindowModels } from "Models.slint";
|
||
|
import { Button, VerticalBox, CheckBox } from "std-widgets.slint";
|
||
|
import { SideBar } from "views/SideBar.slint";
|
||
|
import { MainView } from "views/TasksView.slint";
|
||
|
import { SettingsWindow } from "../SettingsWindow/SettingsWindow.slint";
|
||
|
import { AddSourceWindow } from "../AddSourceWindow//AddSourceWindow.slint";
|
||
|
import { EditSourceWindow } from "../EditSourceWindow/EditSourceWindow.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 { AppWindowModels, Palette, SettingsWindow, AddSourceWindow, EditSourceWindow } // Export to make it visible to the C++ backend
|