From 45424f0cfe98575cdcab0ab031225ae4b9cd75c9 Mon Sep 17 00:00:00 2001 From: Zach Fox Date: Mon, 7 Aug 2017 16:25:42 -0700 Subject: [PATCH] Prototype V1 --- .../resources/qml/hifi/commerce/Checkout.qml | 39 ++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/interface/resources/qml/hifi/commerce/Checkout.qml b/interface/resources/qml/hifi/commerce/Checkout.qml index eae1847d89..dcf659c78c 100644 --- a/interface/resources/qml/hifi/commerce/Checkout.qml +++ b/interface/resources/qml/hifi/commerce/Checkout.qml @@ -219,8 +219,45 @@ Rectangle { // // ACTION BUTTONS START // + Item { + id: actionButtonsContainer; + // Size + width: checkoutRoot.width; + height: 40; + // Anchors + anchors.left: parent.left; + anchors.top: itemDescriptionContainer.bottom; - + // "Cancel" button + HifiControlsUit.Button { + color: hifi.buttons.black; + colorScheme: hifi.colorSchemes.dark; + anchors.top: parent.top; + anchors.topMargin: 3; + anchors.bottom: parent.bottom; + anchors.bottomMargin: 3; + anchors.left: parent.left; + anchors.leftMargin: 20; + width: parent.width/2 - anchors.leftMargin*2; + text: "Cancel" + //onClicked: deleteAttachment(root.attachment); + } + + // "Buy" button + HifiControlsUit.Button { + color: hifi.buttons.black; + colorScheme: hifi.colorSchemes.dark; + anchors.top: parent.top; + anchors.topMargin: 3; + anchors.bottom: parent.bottom; + anchors.bottomMargin: 3; + anchors.right: parent.right; + anchors.rightMargin: 20; + width: parent.width/2 - anchors.rightMargin*2; + text: "Buy" + //onClicked: deleteAttachment(root.attachment); + } + } // // ACTION BUTTONS END //