summaryrefslogtreecommitdiffstats
path: root/app/Settings.qml
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-07-03 15:02:41 +0300
committerMarius Vlad <marius.vlad@collabora.com>2020-07-03 15:02:41 +0300
commite433fb7bc6c4534746865f3c17ea942e409a60ba (patch)
tree2cec014b221ad8fa456e13c299cb3dfae82c133a /app/Settings.qml
parent89a6741e348b1b3c47dd8e47337f338a9e2c7331 (diff)
app/Settings.qml: Allow to scale correctly at lower resolutionssandbox/mvlad/scale-layout
Bug-AGL: SPEC-3348 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Diffstat (limited to 'app/Settings.qml')
-rw-r--r--app/Settings.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Settings.qml b/app/Settings.qml
index f257d8a..d985fc0 100644
--- a/app/Settings.qml
+++ b/app/Settings.qml
@@ -39,9 +39,9 @@ ApplicationWindow {
Item {
id: container
anchors.centerIn: parent
- width: Window.width
- height: Window.height
- scale: 1
+ height: 1920 - 218 - 215
+ width: 1080
+ scale: (Screen.height / 1920.0)
StackView {
id: stack