diff options
author | 2020-07-03 15:02:41 +0300 | |
---|---|---|
committer | 2020-07-03 15:02:41 +0300 | |
commit | e433fb7bc6c4534746865f3c17ea942e409a60ba (patch) | |
tree | 2cec014b221ad8fa456e13c299cb3dfae82c133a /app | |
parent | 89a6741e348b1b3c47dd8e47337f338a9e2c7331 (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')
-rw-r--r-- | app/Settings.qml | 6 |
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 |