summaryrefslogtreecommitdiffstats
path: root/launcher/qml/Launcher.qml
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2018-08-19 13:47:45 +0000
committerTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2018-08-19 14:03:38 +0000
commitadfc55e6dd4b10b83aa35bab40698cbf7b496ec7 (patch)
treeb79d9b6e569293c3ff6be60040cfb334dc7f67a7 /launcher/qml/Launcher.qml
parent5fbb59e80e4f870a1badd694d2efcd8cd941cdfb (diff)
Fix short height of background image
Recently window manager changed the homescreen layout, the height for application changed from 1487 to 1488 css pixel. Before reworking about multiple resolution, this causes unexpected stretch of background image. After, this causes short of height of background. Bug-AGL: SPEC-1611 Change-Id: I05a55f3dc4f4444dc681b8b35db0e99d6c1aeb35 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Diffstat (limited to 'launcher/qml/Launcher.qml')
-rw-r--r--launcher/qml/Launcher.qml7
1 files changed, 2 insertions, 5 deletions
diff --git a/launcher/qml/Launcher.qml b/launcher/qml/Launcher.qml
index 26e42fc..f6f2702 100644
--- a/launcher/qml/Launcher.qml
+++ b/launcher/qml/Launcher.qml
@@ -16,14 +16,11 @@
* limitations under the License.
*/
import QtQuick 2.6
-import QtQuick.Window 2.1
import QtQuick.Layouts 1.1
import QtQuick.Controls 2.0
import AppModel 1.0
-Window {
- visible: true
- flags: Qt.FramelessWindowHint
+ApplicationWindow {
width: container.width * container.scale
height: container.height * container.scale
@@ -33,7 +30,7 @@ Window {
id: container
anchors.centerIn: parent
width: 1080
- height: 1487
+ height: 1488
scale: screenInfo.scale_factor()
Image {