fmeditor-slint/ui/appwindow.slint

34 lines
843 B
Plaintext
Raw Normal View History

import { Metrics } from "theme.slint";
2024-04-09 19:47:10 +00:00
import { EditorBar } from "editor_bar.slint";
import { StatusBar } from "status_bar.slint";
import { ToolBar } from "tool_bar.slint";
2024-04-09 20:56:02 +00:00
import { ObjectToolPanel } from "object_tool_panel.slint";
2024-04-09 19:47:10 +00:00
2024-04-09 16:01:21 +00:00
export component AppWindow inherits Window {
2024-04-09 19:47:10 +00:00
title: @tr("FM Editor");
preferred-width: 1280px;
preferred-height: 720px;
VerticalLayout {
EditorBar { }
HorizontalLayout {
ToolBar { }
2024-04-09 20:56:02 +00:00
ObjectToolPanel { }
Rectangle {
Text {
font-size: Metrics.font-lg;
2024-04-09 20:56:02 +00:00
text: "INSERT VIEWPORT HERE";
vertical-alignment: center;
horizontal-alignment: center;
}
}
ObjectToolPanel { }
2024-04-09 19:47:10 +00:00
}
StatusBar { }
2024-04-09 16:01:21 +00:00
}
}