mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 21:15:07 +02:00
cr
This commit is contained in:
parent
b149fa3d79
commit
2f5f53c8e4
2 changed files with 3 additions and 3 deletions
|
@ -15,6 +15,7 @@ import "../styles-uit"
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
property alias text: popupText.text
|
property alias text: popupText.text
|
||||||
|
property real radius: hifi.dimensions.borderRadius
|
||||||
visible: false
|
visible: false
|
||||||
id: letterbox
|
id: letterbox
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
@ -22,13 +23,13 @@ Item {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
color: "black"
|
color: "black"
|
||||||
opacity: 0.5
|
opacity: 0.5
|
||||||
radius: hifi.dimensions.borderRadius
|
radius: radius
|
||||||
}
|
}
|
||||||
Rectangle {
|
Rectangle {
|
||||||
width: Math.max(parent.width * 0.75, 400)
|
width: Math.max(parent.width * 0.75, 400)
|
||||||
height: popupText.contentHeight*1.5
|
height: popupText.contentHeight*1.5
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
radius: hifi.dimensions.borderRadius
|
radius: radius
|
||||||
color: "white"
|
color: "white"
|
||||||
FiraSansSemiBold {
|
FiraSansSemiBold {
|
||||||
id: popupText
|
id: popupText
|
||||||
|
|
|
@ -3,7 +3,6 @@ var ENTITY_LIST_HTML_URL = Script.resolvePath('../html/entityList.html');
|
||||||
EntityListTool = function(opts) {
|
EntityListTool = function(opts) {
|
||||||
var that = {};
|
var that = {};
|
||||||
|
|
||||||
|
|
||||||
var url = ENTITY_LIST_HTML_URL;
|
var url = ENTITY_LIST_HTML_URL;
|
||||||
var webView = new OverlayWebWindow({
|
var webView = new OverlayWebWindow({
|
||||||
title: 'Entity List', source: url, toolWindow: true
|
title: 'Entity List', source: url, toolWindow: true
|
||||||
|
|
Loading…
Reference in a new issue