mirror of
https://github.com/overte-org/overte.git
synced 2025-04-11 04:34:48 +02:00
'improve' UI slightly
This commit is contained in:
parent
31f7d747c8
commit
a9fd443f28
2 changed files with 8 additions and 7 deletions
interface/resources/qml/hifi/commerce/common/sendAsset
|
@ -25,14 +25,15 @@ Item {
|
|||
|
||||
id: root;
|
||||
|
||||
property bool isDisplayingNearby; // as opposed to 'connections'
|
||||
// true when sending to 'nearby' or when a script raises the send asset dialog
|
||||
property bool multiLineDisplay;
|
||||
property string displayName;
|
||||
property string userName;
|
||||
property string profilePic;
|
||||
property string textColor: hifi.colors.white;
|
||||
|
||||
Item {
|
||||
visible: root.isDisplayingNearby;
|
||||
visible: root.multiLineDisplay;
|
||||
anchors.fill: parent;
|
||||
|
||||
RalewaySemiBold {
|
||||
|
@ -71,7 +72,7 @@ Item {
|
|||
}
|
||||
|
||||
Item {
|
||||
visible: !root.isDisplayingNearby;
|
||||
visible: !root.multiLineDisplay;
|
||||
anchors.fill: parent;
|
||||
|
||||
Image {
|
||||
|
|
|
@ -918,7 +918,7 @@ Item {
|
|||
userName: sendAssetStep.selectedRecipientUserName;
|
||||
profilePic: sendAssetStep.selectedRecipientProfilePic !== "" ? ((0 === sendAssetStep.selectedRecipientProfilePic.indexOf("http")) ?
|
||||
sendAssetStep.selectedRecipientProfilePic : (Account.metaverseServerURL + sendAssetStep.selectedRecipientProfilePic)) : "";
|
||||
isDisplayingNearby: sendAssetStep.referrer === "nearby";
|
||||
multiLineDisplay: sendAssetStep.referrer === "nearby" || sendAssetStep.referrer === "payIn";
|
||||
}
|
||||
|
||||
// "CHANGE" button
|
||||
|
@ -1422,7 +1422,7 @@ Item {
|
|||
userName: sendAssetStep.selectedRecipientUserName;
|
||||
profilePic: sendAssetStep.selectedRecipientProfilePic !== "" ? ((0 === sendAssetStep.selectedRecipientProfilePic.indexOf("http")) ?
|
||||
sendAssetStep.selectedRecipientProfilePic : (Account.metaverseServerURL + sendAssetStep.selectedRecipientProfilePic)) : "";
|
||||
isDisplayingNearby: sendAssetStep.referrer === "nearby";
|
||||
multiLineDisplay: sendAssetStep.referrer === "nearby" || sendAssetStep.referrer === "payIn";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1703,7 +1703,7 @@ Item {
|
|||
userName: sendAssetStep.selectedRecipientUserName;
|
||||
profilePic: sendAssetStep.selectedRecipientProfilePic !== "" ? ((0 === sendAssetStep.selectedRecipientProfilePic.indexOf("http")) ?
|
||||
sendAssetStep.selectedRecipientProfilePic : (Account.metaverseServerURL + sendAssetStep.selectedRecipientProfilePic)) : "";
|
||||
isDisplayingNearby: sendAssetStep.referrer === "nearby";
|
||||
multiLineDisplay: sendAssetStep.referrer === "nearby" || sendAssetStep.referrer === "payIn";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1898,7 +1898,7 @@ Item {
|
|||
}
|
||||
sendAssetStep.referrer = "payIn";
|
||||
sendAssetStep.selectedRecipientNodeID = "";
|
||||
sendAssetStep.selectedRecipientDisplayName = 'Secure Payment';
|
||||
sendAssetStep.selectedRecipientDisplayName = "Determined by script:";
|
||||
sendAssetStep.selectedRecipientUserName = message.username;
|
||||
optionalMessage.text = message.message || "No Message Provided";
|
||||
|
||||
|
|
Loading…
Reference in a new issue