From 4422be44ae3bd159e6f68ff22330196f6666368c Mon Sep 17 00:00:00 2001 From: Venu Date: Wed, 13 Aug 2014 14:35:20 +0200 Subject: Added a signal handler MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without the onHeightChanged signal handler the transition of the NumberPad from left to right is incomplete especially on a mobile device where the window is scaled to fit the view. So the NumberPad ends up hidden behind the Display. Task-number: QTBUG-36086 Change-Id: Iab021c9f2572a4ac83bc393dddc24ddd31849cb4 Reviewed-by: Niels Weber Reviewed-by: Topi Reiniƶ --- examples/quick/demos/calqlatr/calqlatr.qml | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/quick/demos/calqlatr/calqlatr.qml') diff --git a/examples/quick/demos/calqlatr/calqlatr.qml b/examples/quick/demos/calqlatr/calqlatr.qml index 0a092c25da..5f0ebe85a8 100644 --- a/examples/quick/demos/calqlatr/calqlatr.qml +++ b/examples/quick/demos/calqlatr/calqlatr.qml @@ -51,6 +51,7 @@ Rectangle { color: "#272822" onWidthChanged: controller.reload() + onHeightChanged: controller.reload() function operatorPressed(operator) { CalcEngine.operatorPressed(operator) } function digitPressed(digit) { CalcEngine.digitPressed(digit) } -- cgit v1.2.3