From 9b65a72bb58339b9586902ff09d0bc2be7b0bdbe Mon Sep 17 00:00:00 2001 From: Zach Fox Date: Tue, 20 Dec 2016 13:53:26 -0800 Subject: [PATCH] Popup essentially done --- interface/resources/qml/hifi/Pal.qml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/interface/resources/qml/hifi/Pal.qml b/interface/resources/qml/hifi/Pal.qml index 81c036034b..0bcff94739 100644 --- a/interface/resources/qml/hifi/Pal.qml +++ b/interface/resources/qml/hifi/Pal.qml @@ -235,10 +235,20 @@ Item { radius: hifi.dimensions.borderRadius; } Rectangle { - width: 400; - height: 200; + width: Math.min(parent.width * 0.75, 400); + height: popupText.contentHeight*2; anchors.centerIn: parent; - color: "black"; + radius: hifi.dimensions.borderRadius; + color: "white"; + FiraSansSemiBold { + id: popupText; + text: "This is temporary text. It will eventually be used to explain what 'Names' means."; + size: hifi.fontSizes.textFieldInput; + color: hifi.colors.darkGray; + horizontalAlignment: Text.AlignHCenter; + anchors.fill: parent; + wrapMode: Text.WordWrap; + } } MouseArea { anchors.fill: parent;