~renatofilho/address-book-app/hide-favorite-if-empty

« back to all changes in this revision

Viewing changes to src/imports/Ubuntu/AddressBook/Base/KeyboardRectangle.qml

  • Committer: Renato Araujo Oliveira Filho
  • Date: 2016-01-14 21:40:05 UTC
  • mfrom: (492.2.38 address-book-app)
  • Revision ID: renato.filho@canonical.com-20160114214005-ysi6boalbysxq80w
Trunk merged.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
Item {
20
20
    id: keyboardRect
 
21
 
 
22
    property bool active: true
 
23
 
21
24
    anchors.left: parent.left
22
25
    anchors.right: parent.right
23
26
    anchors.bottom: parent.bottom
24
 
    height: Qt.inputMethod.visible ? Qt.inputMethod.keyboardRectangle.height : 0
 
27
    height: active && Qt.inputMethod.visible ? Qt.inputMethod.keyboardRectangle.height : 0
25
28
 
26
29
    states: [
27
30
        State {