summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfukubayashi.akio <fukubayashi.akio@genetec.co.jp>2019-07-25 10:43:01 +0900
committerfukubayashi.akio <fukubayashi.akio@genetec.co.jp>2019-07-25 10:43:01 +0900
commite85980473d6f8eba4666336bd450688a835a0d3a (patch)
tree90886720d09233b5c0fe624459ac661ea7788642
parentf269917773e8c019ae497c83ed2b7c914829157b (diff)
Signed-off-by: fukubayashi.akio <fukubayashi.akio@genetec.co.jp>
-rw-r--r--app/Dashboard.qml8
-rw-r--r--package/config.xml1
2 files changed, 5 insertions, 4 deletions
diff --git a/app/Dashboard.qml b/app/Dashboard.qml
index d343d8a..209388a 100644
--- a/app/Dashboard.qml
+++ b/app/Dashboard.qml
@@ -24,8 +24,8 @@ import Translator 1.0
ApplicationWindow {
id: root
- width: container.width * container.scale
- height: container.height * container.scale
+ //width: container.width * container.scale
+ //height: container.height * container.scale
Translator {
id: translator
@@ -97,7 +97,9 @@ ApplicationWindow {
anchors.centerIn: parent
width: 1080
height: 1487
- scale: screenInfo.scale_factor()
+ //scale: screenInfo.scale_factor()
+ //scale: 1080 / root.width
+ scale: root.height / 1487
Label {
id: speed
diff --git a/package/config.xml b/package/config.xml
index 9b45b3c..8e1f43d 100644
--- a/package/config.xml
+++ b/package/config.xml
@@ -13,7 +13,6 @@
</feature>
<feature name="urn:AGL:widget:required-permission">
<param name="urn:AGL:permission::public:no-htdocs" value="required"/>
- <param name="urn:AGL:permission::public:display" value="required" />
</feature>
</widget>