on xenial help sign in
Merge
fec2cd2Albert Astals Cid
qml/Dash/FiltersPopover.qml+1−1
@@ -35,7 +35,7 @@ Popover {
35 // Popover doesn't like being 75% or bigger than the screen (counting the "empty" part on top)
35 // Popover doesn't like being 75% or bigger than the screen (counting the "empty" part on top)
36 var posToRootParent = flickable.mapToItem(null, 0, 0).y;
36 var posToRootParent = flickable.mapToItem(null, 0, 0).y;
37 var threeQuartersParent = root.parent.height * 3 / 4 - posToRootParent - 1;
37 var threeQuartersParent = root.parent.height * 3 / 4 - posToRootParent - 1;
38− var parentAndKeyboard = root.parent.height - posToRootParent - (Qt.inputMethod.visible ? Qt.inputMethod.keyboardRectangle.height : 0)
38+ var parentAndKeyboard = root.parent.height - posToRootParent - (Qt.inputMethod.visible ? Qt.inputMethod.keyboardRectangle.height + units.gu(3) : 0)
39 return Math.min(parentAndKeyboard, Math.min(threeQuartersParent, column.height));
39 return Math.min(parentAndKeyboard, Math.min(threeQuartersParent, column.height));
40 }
40 }
41 contentHeight: column.height
41 contentHeight: column.height