mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 13:12:39 +02:00
tabless wallet
This commit is contained in:
parent
b5a48d31b6
commit
ce0ad48a28
3 changed files with 6 additions and 7 deletions
|
@ -452,7 +452,7 @@ Rectangle {
|
|||
anchors.left: parent.left;
|
||||
anchors.leftMargin: 16;
|
||||
width: paintedWidth;
|
||||
text: "Inventory";
|
||||
text: "Items";
|
||||
color: hifi.colors.black;
|
||||
size: 22;
|
||||
}
|
||||
|
|
|
@ -135,7 +135,7 @@ Rectangle {
|
|||
// Title Bar text
|
||||
RalewaySemiBold {
|
||||
id: titleBarText;
|
||||
text: "ASSETS";
|
||||
text: "INVENTORY";
|
||||
// Text size
|
||||
size: hifi.fontSizes.overlayTitle;
|
||||
// Anchors
|
||||
|
@ -376,7 +376,7 @@ Rectangle {
|
|||
id: walletInventory;
|
||||
visible: root.activeView === "walletInventory";
|
||||
anchors.top: titleBarContainer.bottom;
|
||||
anchors.bottom: tabButtonsContainer.top;
|
||||
anchors.bottom: !WalletScriptingInterface.limitedCommerce ? tabButtonsContainer.top : parent.bottom;
|
||||
anchors.left: parent.left;
|
||||
anchors.right: parent.right;
|
||||
Connections {
|
||||
|
@ -475,7 +475,7 @@ Rectangle {
|
|||
//
|
||||
Item {
|
||||
id: tabButtonsContainer;
|
||||
visible: !needsLogIn.visible && root.activeView !== "passphraseChange" && root.activeView !== "securityImageChange" && sendMoney.currentActiveView !== "sendAssetStep";
|
||||
visible: !needsLogIn.visible && root.activeView !== "passphraseChange" && root.activeView !== "securityImageChange" && sendMoney.currentActiveView !== "sendAssetStep" && !WalletScriptingInterface.limitedCommerce;
|
||||
property int numTabs: 5;
|
||||
// Size
|
||||
width: root.width;
|
||||
|
@ -585,7 +585,7 @@ Rectangle {
|
|||
}
|
||||
|
||||
RalewaySemiBold {
|
||||
text: "INVENTORY";
|
||||
text: "ITEMS";
|
||||
// Text size
|
||||
size: 16;
|
||||
// Anchors
|
||||
|
|
|
@ -644,14 +644,13 @@ function uninstallMarketplaceItemTester() {
|
|||
}
|
||||
}
|
||||
|
||||
var BUTTON_NAME = "ASSETS";
|
||||
var BUTTON_NAME = "INVENTORY";
|
||||
var WALLET_QML_SOURCE = "hifi/commerce/wallet/Wallet.qml";
|
||||
var NOTIFICATION_POLL_TIMEOUT = 300000;
|
||||
var ui;
|
||||
function startup() {
|
||||
ui = new AppUi({
|
||||
buttonName: BUTTON_NAME,
|
||||
buttonPrefix: "wallet-",
|
||||
sortOrder: 10,
|
||||
home: WALLET_QML_SOURCE,
|
||||
onOpened: walletOpened,
|
||||
|
|
Loading…
Reference in a new issue