import QtQuick 2.5 import controlsUit 1.0 as HifiControls import stylesUit 1.0 as HifiStyles import "../windows" as Windows import "../." Item { id: root width: 600 height: 200 z:100 HifiConstants { id: hifi } // anchors.top: buttons.bottom Rectangle { id: mainContainer width: root.width height: root.height color: hifi.colors.white Row { id: webAccessHeaderContainer height: root.height * 0.30 RalewayLight { id: webAccessHeaderText text: "WEB CAMERA ACCESS REQUEST" width: mainContainer.width horizontalAlignment: Text.AlignHCenter anchors.bottom: parent.bottom font.bold: true color: hifi.colors.black size: 17 } } Row { id: webAccessInfoContainer anchors.top: webAccessHeaderContainer.bottom anchors.topMargin: 10 RalewayLight { width: mainContainer.width id: webAccessInfoText horizontalAlignment: Text.AlignHCenter text: "This domain is requesting access to your web camera and microphone" size: 17 color: hifi.colors.black } } Rectangle { id: permissionsButtonRow color: "#AAAAAA" anchors.topMargin: 10 height: 50 width: leftButton.width + rightButton.width + (this.space * 3) anchors.top: webAccessInfoContainer.bottom anchors.horizontalCenter: webAccessInfoContainer.horizontalCenter anchors.verticalCenter: webAccessInfoContainer.verticalCenter property real space: 5 Button { anchors.left: permissionsButtonRow.left id: leftButton anchors.leftMargin: permissionsButtonRow.space text: "Yes allow access" color: hifi.buttons.blue colorScheme: root.colorScheme enabled: true width: 155 } Button { id: rightButton anchors.left: leftButton.right anchors.leftMargin: permissionsButtonRow.space text: "Don't Allow" color: hifi.buttons.red colorScheme: root.colorScheme enabled: true } } } }