From 939749e0842f9ff60fe2466501c94e2c844a29a9 Mon Sep 17 00:00:00 2001 From: Alexander Ivash Date: Thu, 31 May 2018 00:59:22 +0300 Subject: [PATCH] The keyboard should appear at the bottom of the screen. --- interface/resources/qml/hifi/AvatarApp.qml | 2 +- .../qml/hifi/avatarapp/CreateFavoriteDialog.qml | 16 ---------------- .../resources/qml/hifi/avatarapp/MessageBox.qml | 17 ----------------- 3 files changed, 1 insertion(+), 34 deletions(-) diff --git a/interface/resources/qml/hifi/AvatarApp.qml b/interface/resources/qml/hifi/AvatarApp.qml index 5e39666ced..c81319dea6 100644 --- a/interface/resources/qml/hifi/AvatarApp.qml +++ b/interface/resources/qml/hifi/AvatarApp.qml @@ -17,7 +17,7 @@ Rectangle { HifiControls.Keyboard { id: keyboard - z: 100 + z: 1000 raised: parent.keyboardEnabled && parent.keyboardRaised numeric: parent.punctuationMode anchors { diff --git a/interface/resources/qml/hifi/avatarapp/CreateFavoriteDialog.qml b/interface/resources/qml/hifi/avatarapp/CreateFavoriteDialog.qml index 3e57e9589e..9a6994576d 100644 --- a/interface/resources/qml/hifi/avatarapp/CreateFavoriteDialog.qml +++ b/interface/resources/qml/hifi/avatarapp/CreateFavoriteDialog.qml @@ -11,10 +11,6 @@ Rectangle { color: Qt.rgba(0, 0, 0, 0.5); z: 999; - property bool keyboardEnabled: true - property bool keyboardRaised: false - property bool punctuationMode: false - property string titleText: 'Create Favorite' property string favoriteNameText: favoriteName.text property string avatarImageUrl: null @@ -138,18 +134,6 @@ Rectangle { } } } - - HifiControlsUit.Keyboard { - id: keyboard - raised: root.keyboardEnabled && root.keyboardRaised - numeric: root.punctuationMode - anchors { - top: avatarThumbnail.bottom - topMargin: 20 - left: parent.left - right: parent.right - } - } } DialogButtons { diff --git a/interface/resources/qml/hifi/avatarapp/MessageBox.qml b/interface/resources/qml/hifi/avatarapp/MessageBox.qml index 68e4e43e4a..c5711fe1ce 100644 --- a/interface/resources/qml/hifi/avatarapp/MessageBox.qml +++ b/interface/resources/qml/hifi/avatarapp/MessageBox.qml @@ -11,10 +11,6 @@ Rectangle { color: Qt.rgba(0, 0, 0, 0.5); z: 999; - property bool keyboardEnabled: true - property bool keyboardRaised: false - property bool punctuationMode: false - property string titleText: '' property string bodyText: '' property alias inputText: input; @@ -151,19 +147,6 @@ Rectangle { anchors.left: parent.left; anchors.right: parent.right; } - - HifiControlsUit.Keyboard { - id: keyboard - z: 100 - raised: root.keyboardEnabled && root.keyboardRaised - numeric: root.punctuationMode - anchors { - top: input.bottom - topMargin: 20 - left: parent.left - right: parent.right - } - } } DialogButtons {