mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 22:10:25 +02:00
Popup essentially done
This commit is contained in:
parent
5b77202c52
commit
9b65a72bb5
1 changed files with 13 additions and 3 deletions
|
@ -235,10 +235,20 @@ Item {
|
||||||
radius: hifi.dimensions.borderRadius;
|
radius: hifi.dimensions.borderRadius;
|
||||||
}
|
}
|
||||||
Rectangle {
|
Rectangle {
|
||||||
width: 400;
|
width: Math.min(parent.width * 0.75, 400);
|
||||||
height: 200;
|
height: popupText.contentHeight*2;
|
||||||
anchors.centerIn: parent;
|
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 {
|
MouseArea {
|
||||||
anchors.fill: parent;
|
anchors.fill: parent;
|
||||||
|
|
Loading…
Reference in a new issue