Fix print job context menu height

Contributes to CL-897, CL-1051, CL-1111
This commit is contained in:
Ian Paschal 2018-10-23 16:27:45 +02:00
parent 0045559d01
commit a247fe204f

View File

@ -95,8 +95,7 @@ Item {
top: parent.top; top: parent.top;
topMargin: UM.Theme.getSize("default_margin").height + 10 * screenScaleFactor; // Account for the point of the box 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: childrenRect.height + spacing * popupOptions.children.length + UM.Theme.getSize("default_margin").height;
height: 200;
spacing: Math.floor(UM.Theme.getSize("default_margin").height / 2); spacing: Math.floor(UM.Theme.getSize("default_margin").height / 2);
width: parent.width; width: parent.width;