28 property real extraHeight: 0
43 property real baseWidth: 300
45 x: parent ? (parent.width - width) / 2 : 0
46 y: parent ? deltaY() : 0
47 width: parent ? Math.min(Math.max(implicitWidth, baseWidth), parent.width - 24) : implicitWidth
48 height: parent ? Math.min(implicitHeight, parent.height - 24) : implicitWidth
63 var unscaled =
Qt.inputMethod.keyboardRectangle.height / Screen.devicePixelRatio;
64 var availHeight = (parent.height + extraHeight) - unscaled - 24;
65 var rawDelta = (Math.max(0, availHeight - height) / 2);
66 return rawDelta + 12 - extraHeight;