diff options
author | Venu <venugopal.shivashankar@digia.com> | 2014-08-13 14:35:20 +0200 |
---|---|---|
committer | Venugopal Shivashankar <venugopal.shivashankar@digia.com> | 2014-08-14 10:17:49 +0200 |
commit | 4422be44ae3bd159e6f68ff22330196f6666368c (patch) | |
tree | 80105fc2569007b2b56bf8ba16b9ee3b3574a7ac /examples/quick/demos/calqlatr/calqlatr.qml | |
parent | 5ec53b4d3e261743aabeda3ebaae0e2a10ff7025 (diff) |
Added a signal handler
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 <niels.weber@digia.com>
Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Diffstat (limited to 'examples/quick/demos/calqlatr/calqlatr.qml')
-rw-r--r-- | examples/quick/demos/calqlatr/calqlatr.qml | 1 |
1 files changed, 1 insertions, 0 deletions
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) } |