From a247fe204fe41a93fadb3eb314ffb2719cf24b92 Mon Sep 17 00:00:00 2001 From: Ian Paschal Date: Tue, 23 Oct 2018 16:27:45 +0200 Subject: [PATCH] Fix print job context menu height Contributes to CL-897, CL-1051, CL-1111 --- .../UM3NetworkPrinting/resources/qml/PrintJobContextMenu.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/UM3NetworkPrinting/resources/qml/PrintJobContextMenu.qml b/plugins/UM3NetworkPrinting/resources/qml/PrintJobContextMenu.qml index 7fbd36fc83..55d3c66eb4 100644 --- a/plugins/UM3NetworkPrinting/resources/qml/PrintJobContextMenu.qml +++ b/plugins/UM3NetworkPrinting/resources/qml/PrintJobContextMenu.qml @@ -95,8 +95,7 @@ Item { top: parent.top; topMargin: UM.Theme.getSize("default_margin").height + 10 * screenScaleFactor; // Account for the point of the box } - // height: childrenRect.height + spacing * popupOptions.children.length + UM.Theme.getSize("default_margin").height; - height: 200; + height: childrenRect.height + spacing * popupOptions.children.length + UM.Theme.getSize("default_margin").height; spacing: Math.floor(UM.Theme.getSize("default_margin").height / 2); width: parent.width;