LowerKeyboard button changes

This commit is contained in:
Zach Fox 2017-10-18 15:31:12 -07:00
parent a993386613
commit 91ac2ab58c
3 changed files with 18 additions and 14 deletions

View file

@ -25,7 +25,7 @@ Item {
HifiConstants { id: hifi; } HifiConstants { id: hifi; }
id: root; id: root;
z: 998; z: 997;
property bool keyboardRaised: false; property bool keyboardRaised: false;
property string titleBarIcon: ""; property string titleBarIcon: "";
property string titleBarText: ""; property string titleBarText: "";
@ -350,7 +350,7 @@ Item {
Item { Item {
id: keyboardContainer; id: keyboardContainer;
z: 999; z: 998;
visible: keyboard.raised; visible: keyboard.raised;
property bool punctuationMode: false; property bool punctuationMode: false;
anchors { anchors {
@ -361,11 +361,13 @@ Item {
Image { Image {
id: lowerKeyboardButton; id: lowerKeyboardButton;
z: 999;
source: "images/lowerKeyboard.png"; source: "images/lowerKeyboard.png";
anchors.horizontalCenter: parent.horizontalCenter; anchors.right: keyboard.right;
anchors.bottom: keyboard.top; anchors.top: keyboard.showMirrorText ? keyboard.top : undefined;
height: 30; anchors.bottom: keyboard.showMirrorText ? undefined : keyboard.bottom;
width: 120; height: 50;
width: 60;
MouseArea { MouseArea {
anchors.fill: parent; anchors.fill: parent;

View file

@ -165,7 +165,7 @@ Rectangle {
WalletSetup { WalletSetup {
id: walletSetup; id: walletSetup;
visible: root.activeView === "walletSetup"; visible: root.activeView === "walletSetup";
z: 998; z: 997;
anchors.fill: parent; anchors.fill: parent;
Connections { Connections {
@ -192,7 +192,7 @@ Rectangle {
PassphraseChange { PassphraseChange {
id: passphraseChange; id: passphraseChange;
visible: root.activeView === "passphraseChange"; visible: root.activeView === "passphraseChange";
z: 998; z: 997;
anchors.top: titleBarContainer.bottom; anchors.top: titleBarContainer.bottom;
anchors.left: parent.left; anchors.left: parent.left;
anchors.right: parent.right; anchors.right: parent.right;
@ -217,7 +217,7 @@ Rectangle {
SecurityImageChange { SecurityImageChange {
id: securityImageChange; id: securityImageChange;
visible: root.activeView === "securityImageChange"; visible: root.activeView === "securityImageChange";
z: 998; z: 997;
anchors.top: titleBarContainer.bottom; anchors.top: titleBarContainer.bottom;
anchors.left: parent.left; anchors.left: parent.left;
anchors.right: parent.right; anchors.right: parent.right;
@ -653,7 +653,7 @@ Rectangle {
Item { Item {
id: keyboardContainer; id: keyboardContainer;
z: 999; z: 998;
visible: keyboard.raised; visible: keyboard.raised;
property bool punctuationMode: false; property bool punctuationMode: false;
anchors { anchors {
@ -664,11 +664,13 @@ Rectangle {
Image { Image {
id: lowerKeyboardButton; id: lowerKeyboardButton;
z: 999;
source: "images/lowerKeyboard.png"; source: "images/lowerKeyboard.png";
anchors.horizontalCenter: parent.horizontalCenter; anchors.right: keyboard.right;
anchors.bottom: keyboard.top; anchors.top: keyboard.showMirrorText ? keyboard.top : undefined;
height: 30; anchors.bottom: keyboard.showMirrorText ? undefined : keyboard.bottom;
width: 120; height: 50;
width: 60;
MouseArea { MouseArea {
anchors.fill: parent; anchors.fill: parent;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 721 B

After

Width:  |  Height:  |  Size: 1.2 KiB