Skip to content

Commit 14cc931

Browse files
committed
Add menu bar height to minimum window height
1 parent 83ad678 commit 14cc931

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/main.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import ScratchCPP.Render
1010
ApplicationWindow {
1111
id: root
1212
minimumWidth: layout.implicitWidth + layout.anchors.margins * 2
13-
minimumHeight: layout.implicitHeight + layout.anchors.margins * 2
13+
minimumHeight: menuBar.height + layout.implicitHeight + layout.anchors.margins * 2
1414
visible: true
1515
title: "ScratchCPP"
1616
color: Material.background

0 commit comments

Comments
 (0)