summaryrefslogtreecommitdiffstats
path: root/app/Dashboard.qml
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 /app/Dashboard.qml
parentf269917773e8c019ae497c83ed2b7c914829157b (diff)
Signed-off-by: fukubayashi.akio <fukubayashi.akio@genetec.co.jp>
Diffstat (limited to 'app/Dashboard.qml')
-rw-r--r--app/Dashboard.qml8
1 files changed, 5 insertions, 3 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