Skip to content

Commit e5a269a

Browse files
committed
Don't force the height of the main context menu
1 parent 0cf52a1 commit e5a269a

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/view/qml/Editor/EditorView.qml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ FocusScope {
7575
MainContextMenu {
7676
id: contextMenu
7777
width: parent.width * 0.25
78-
height: parent.height * 0.5
7978
}
8079
Keys.onPressed: event => {
8180
keyboardHandler.handleKeyPressed(event);

src/view/qml/Editor/MainContextMenu.qml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Menu {
66
id: rootItem
77
Menu {
88
title: qsTr("Line")
9-
height: rootItem.height
109
width: rootItem.width
1110
Action {
1211
text: qsTr("Insert an event")
@@ -27,7 +26,6 @@ Menu {
2726
}
2827
Menu {
2928
title: qsTr("Column")
30-
height: rootItem.height
3129
width: rootItem.width
3230
Action {
3331
text: qsTr("Cut")
@@ -96,7 +94,6 @@ Menu {
9694
}
9795
Menu {
9896
title: qsTr("Track")
99-
height: rootItem.height
10097
width: rootItem.width
10198
Action {
10299
text: qsTr("Cut")
@@ -174,7 +171,6 @@ Menu {
174171
}
175172
Menu {
176173
title: "Pattern"
177-
height: rootItem.height
178174
width: rootItem.width
179175
Action {
180176
text: qsTr("Cut")
@@ -236,7 +232,6 @@ Menu {
236232
}
237233
Menu {
238234
title: qsTr("Selection")
239-
height: rootItem.height
240235
width: rootItem.width
241236
Action {
242237
text: qsTr("Cut")

0 commit comments

Comments
 (0)