Code Review
/
apps
/
launcher.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
27f1a09
)
Launcher.qml: Allow to scale correctly on lower resolution
sandbox/mvlad/scaling-layout
author
Marius Vlad
<marius.vlad@collabora.com>
Fri, 3 Jul 2020 09:13:47 +0000
(12:13 +0300)
committer
Marius Vlad
<marius.vlad@collabora.com>
Fri, 3 Jul 2020 09:13:47 +0000
(12:13 +0300)
Bug-AGL: SPEC-3348
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I8e200d069c49df803fbf062b069d47e84a2d103e
launcher/qml/Launcher.qml
patch
|
blob
|
history
diff --git
a/launcher/qml/Launcher.qml
b/launcher/qml/Launcher.qml
index
347cdfb
..
9c295d6
100644
(file)
--- a/
launcher/qml/Launcher.qml
+++ b/
launcher/qml/Launcher.qml
@@
-30,10
+30,9
@@
ApplicationWindow {
Item {
id: container
anchors.centerIn: parent
- width: Window.width
- height: Window.height
- //scale: screenInfo.scale_factor()
- scale: 1
+ height: (1920 - 218 - 215)
+ width: 1080
+ scale: (Screen.width / 1080.0)
Image {
anchors.centerIn: parent