Only small tweaks remaining?

This commit is contained in:
Zach Fox 2018-01-18 17:47:43 -08:00
parent 6b5389a167
commit 495c4f56e2
2 changed files with 22 additions and 19 deletions

View file

@ -29,6 +29,7 @@ Item {
property string displayName; property string displayName;
property string userName; property string userName;
property string profilePic; property string profilePic;
property string textColor: hifi.colors.white;
Item { Item {
visible: root.isDisplayingNearby; visible: root.isDisplayingNearby;
@ -46,7 +47,7 @@ Item {
// Text size // Text size
size: 18; size: 18;
// Style // Style
color: hifi.colors.white; color: root.textColor;
verticalAlignment: Text.AlignBottom; verticalAlignment: Text.AlignBottom;
elide: Text.ElideRight; elide: Text.ElideRight;
} }
@ -63,7 +64,7 @@ Item {
// Text size // Text size
size: 16; size: 16;
// Style // Style
color: hifi.colors.white; color: root.textColor;
verticalAlignment: Text.AlignTop; verticalAlignment: Text.AlignTop;
elide: Text.ElideRight; elide: Text.ElideRight;
} }
@ -108,7 +109,7 @@ Item {
// Text size // Text size
size: 16; size: 16;
// Style // Style
color: hifi.colors.white; color: root.textColor;
verticalAlignment: Text.AlignVCenter; verticalAlignment: Text.AlignVCenter;
elide: Text.ElideRight; elide: Text.ElideRight;
} }

View file

@ -262,6 +262,7 @@ Item {
anchors.fill: parent; anchors.fill: parent;
onClicked: { onClicked: {
root.nextActiveView = "chooseRecipientConnection"; root.nextActiveView = "chooseRecipientConnection";
filterBar.text = "";
} }
} }
} }
@ -934,7 +935,7 @@ Item {
HifiControlsUit.CheckBox { HifiControlsUit.CheckBox {
id: sendPubliclyCheckbox; id: sendPubliclyCheckbox;
visible: true; // FIXME ONCE PARTICLE EFFECTS ARE IN visible: false; // FIXME ONCE PARTICLE EFFECTS ARE IN
text: "Send Publicly" text: "Send Publicly"
// Anchors // Anchors
anchors.top: messageContainer.bottom; anchors.top: messageContainer.bottom;
@ -1018,7 +1019,7 @@ Item {
visible: root.isCurrentlySendingMoney; visible: root.isCurrentlySendingMoney;
anchors.fill: parent; anchors.fill: parent;
color: Qt.rgba(0.0, 0.0, 0.0, 0.5); color: Qt.rgba(0.0, 0.0, 0.0, 0.8);
// This object is always used in a popup or full-screen Wallet section. // This object is always used in a popup or full-screen Wallet section.
// This MouseArea is used to prevent a user from being // This MouseArea is used to prevent a user from being
@ -1030,11 +1031,10 @@ Item {
AnimatedImage { AnimatedImage {
id: sendingMoneyImage; id: sendingMoneyImage;
source: "../../../../../icons/profilePicLoading.gif" source: "./images/loader.gif"
width: 160; width: 96;
height: width; height: width;
anchors.top: parent.top; anchors.verticalCenter: parent.verticalCenter;
anchors.topMargin: 185;
anchors.horizontalCenter: parent.horizontalCenter; anchors.horizontalCenter: parent.horizontalCenter;
} }
@ -1042,11 +1042,11 @@ Item {
text: "Sending"; text: "Sending";
// Anchors // Anchors
anchors.top: sendingMoneyImage.bottom; anchors.top: sendingMoneyImage.bottom;
anchors.topMargin: 22; anchors.topMargin: 4;
anchors.horizontalCenter: parent.horizontalCenter; anchors.horizontalCenter: parent.horizontalCenter;
width: paintedWidth; width: paintedWidth;
// Text size // Text size
size: 24; size: 26;
// Style // Style
color: hifi.colors.white; color: hifi.colors.white;
verticalAlignment: Text.AlignVCenter; verticalAlignment: Text.AlignVCenter;
@ -1055,17 +1055,17 @@ Item {
// Sending Money Overlay END // Sending Money Overlay END
// Payment Success BEGIN // Payment Success BEGIN
Rectangle { Item {
id: paymentSuccess; id: paymentSuccess;
visible: root.currentActiveView === "paymentSuccess"; visible: root.currentActiveView === "paymentSuccess";
anchors.fill: parent; anchors.fill: parent;
color: "#AAAAAA";
Rectangle { Rectangle {
anchors.centerIn: parent; anchors.centerIn: parent;
width: parent.width - 30; width: parent.width - 30;
height: parent.height - 30; height: parent.height - 30;
color: "#FFFFFF";
RalewaySemiBold { RalewaySemiBold {
id: paymentSentText; id: paymentSentText;
@ -1138,6 +1138,7 @@ Item {
anchors.left: sendToText_paymentSuccess.right; anchors.left: sendToText_paymentSuccess.right;
anchors.right: parent.right; anchors.right: parent.right;
height: parent.height; height: parent.height;
textColor: hifi.colors.blueAccent;
displayName: sendMoneyStep.selectedRecipientDisplayName; displayName: sendMoneyStep.selectedRecipientDisplayName;
userName: sendMoneyStep.selectedRecipientUserName; userName: sendMoneyStep.selectedRecipientUserName;
@ -1168,7 +1169,7 @@ Item {
// Text size // Text size
size: 18; size: 18;
// Style // Style
color: hifi.colors.white; color: hifi.colors.baseGray;
verticalAlignment: Text.AlignVCenter; verticalAlignment: Text.AlignVCenter;
} }
@ -1183,7 +1184,7 @@ Item {
anchors.verticalCenter: parent.verticalCenter; anchors.verticalCenter: parent.verticalCenter;
height: 50; height: 50;
// Style // Style
color: hifi.colors.lightGrayText; color: hifi.colors.blueAccent;
} }
RalewaySemiBold { RalewaySemiBold {
@ -1197,7 +1198,7 @@ Item {
height: 50; height: 50;
// Style // Style
size: 22; size: 22;
color: hifi.colors.darkGray; color: hifi.colors.blueAccent;
} }
} }
@ -1215,7 +1216,7 @@ Item {
// Text size // Text size
size: 22; size: 22;
// Style // Style
color: hifi.colors.baseGray; color: hifi.colors.blueAccent;
wrapMode: Text.Wrap; wrapMode: Text.Wrap;
verticalAlignment: Text.AlignTop; verticalAlignment: Text.AlignTop;
} }
@ -1241,17 +1242,17 @@ Item {
// Payment Success END // Payment Success END
// Payment Failure BEGIN // Payment Failure BEGIN
Rectangle { Item {
id: paymentFailure; id: paymentFailure;
visible: root.currentActiveView === "paymentFailure"; visible: root.currentActiveView === "paymentFailure";
anchors.fill: parent; anchors.fill: parent;
color: "#AAAAAA";
Rectangle { Rectangle {
anchors.centerIn: parent; anchors.centerIn: parent;
width: parent.width - 30; width: parent.width - 30;
height: parent.height - 30; height: parent.height - 30;
color: "#FFFFFF";
RalewaySemiBold { RalewaySemiBold {
id: paymentFailureText; id: paymentFailureText;
@ -1342,6 +1343,7 @@ Item {
anchors.left: sentToText_paymentFailure.right; anchors.left: sentToText_paymentFailure.right;
anchors.right: parent.right; anchors.right: parent.right;
height: parent.height; height: parent.height;
textColor: hifi.colors.baseGray;
displayName: sendMoneyStep.selectedRecipientDisplayName; displayName: sendMoneyStep.selectedRecipientDisplayName;
userName: sendMoneyStep.selectedRecipientUserName; userName: sendMoneyStep.selectedRecipientUserName;