We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f2f0ad commit 9abb1f8Copy full SHA for 9abb1f8
src/app/main.qml
@@ -3,10 +3,12 @@
3
import QtQuick
4
import QtQuick.Controls.Material
5
import QtQuick.Layouts
6
+import ScratchCPP
7
import ScratchCPP.UiComponents
8
import ScratchCPP.Render
9
-Window {
10
+ApplicationWindow {
11
+ id: root
12
minimumWidth: layout.implicitWidth + layout.anchors.margins * 2
13
minimumHeight: layout.implicitHeight + layout.anchors.margins * 2
14
visible: true
@@ -15,6 +17,11 @@ Window {
15
17
Material.accent: "orange"
16
18
Material.theme: Material.Dark
19
20
+ menuBar: CustomMenuBar {
21
+ width: root.width
22
+ model: AppMenuBar.model
23
+ }
24
+
25
ColumnLayout {
26
id: layout
27
anchors.fill: parent
0 commit comments