mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:35:08 +02:00
Fix web entities for android
This commit is contained in:
parent
7e640abb39
commit
48cdd6d64c
2 changed files with 38 additions and 2 deletions
36
interface/resources/qml/controls/+android/WebEntityView.qml
Normal file
36
interface/resources/qml/controls/+android/WebEntityView.qml
Normal file
|
@ -0,0 +1,36 @@
|
|||
//
|
||||
// WebEntityView.qml
|
||||
//
|
||||
// Created by Gabriel Calero & Cristian Duarte on Jun 25, 2018
|
||||
// Copyright 2016 High Fidelity, Inc.
|
||||
//
|
||||
// Distributed under the Apache License, Version 2.0.
|
||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
//
|
||||
|
||||
import QtQuick 2.5
|
||||
|
||||
|
||||
Item {
|
||||
|
||||
property string url
|
||||
|
||||
Text {
|
||||
id: webContentText
|
||||
anchors.horizontalCenter : parent.horizontalCenter
|
||||
text: "Web content\nClick to view"
|
||||
font.family: "Helvetica"
|
||||
font.pointSize: 24
|
||||
color: "#0098CA"
|
||||
}
|
||||
|
||||
Text {
|
||||
id: urlText
|
||||
text: url
|
||||
anchors.horizontalCenter : parent.horizontalCenter
|
||||
anchors.top : webContentText.bottom
|
||||
font.family: "Helvetica"
|
||||
font.pointSize: 18
|
||||
color: "#0098CA"
|
||||
}
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
"use strict";
|
||||
//
|
||||
// clickOverlays.js
|
||||
// clickWeb.js
|
||||
// scripts/system/+android
|
||||
//
|
||||
// Created by Gabriel Calero & Cristian Duarte on Jun 22, 2018
|
||||
|
@ -18,7 +18,7 @@ var touchEntityID;
|
|||
|
||||
function printd(str) {
|
||||
if (logEnabled)
|
||||
print("[clickOverlays.js] " + str);
|
||||
print("[clickWeb.js] " + str);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue