import { Metrics } from "theme.slint"; import { EditorBar } from "editor_bar.slint"; import { StatusBar } from "status_bar.slint"; import { ToolBar } from "tool_bar.slint"; import { ObjectToolPanel } from "object_tool_panel.slint"; export component AppWindow inherits Window { title: @tr("FM Editor"); preferred-width: 1280px; preferred-height: 720px; VerticalLayout { EditorBar { } HorizontalLayout { ToolBar { } ObjectToolPanel { } Rectangle { Text { font-size: Metrics.font-lg; text: "INSERT VIEWPORT HERE"; vertical-alignment: center; horizontal-alignment: center; } } ObjectToolPanel { } } StatusBar { } } }