X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=homescreen%2Fqml%2Fmain.qml;fp=homescreen%2Fqml%2Fmain.qml;h=41e1df0bc565b45684a2602c787998a291eff612;hb=c6743aa0e414ad1b1cb658d862682a07b20b302f;hp=b22ba06f750e04f9d340c160a9b4eb4930a7137d;hpb=f3b7df310cbceb3bcca40a6969e74e71c7b8937f;p=apps%2Fhomescreen.git diff --git a/homescreen/qml/main.qml b/homescreen/qml/main.qml index b22ba06..41e1df0 100644 --- a/homescreen/qml/main.qml +++ b/homescreen/qml/main.qml @@ -28,17 +28,27 @@ Window { title: 'HomeScreen' color: "#00000000" + Image { + id: fullscreen_back + anchors.centerIn: parent + width: 1920 + height: 1080 + source: './images/menubar_fullscreen_background.png' + } + Image { id: container anchors.centerIn: parent width: 1920 - height: 720 + height: 1080 scale: 1.0 source: './images/menubar_background.png' ColumnLayout { id: menuBar - anchors.fill: parent + width: 1920 + height: 720 +// y:180 spacing: 0 TopArea { id: topArea @@ -71,38 +81,38 @@ Window { name: "normal" PropertyChanges { target: container - y: 0 + y: 180 } PropertyChanges { target: topArea - y: 0 + y: 180 } PropertyChanges { target: applicationArea - y: 80 + y: 260 } PropertyChanges { target: shortcutArea - y: 590 + y: 770 } }, State { name: "fullscreen" PropertyChanges { target: container - y: -720 + y: -900 } PropertyChanges { target: topArea - y: -80 + y: -260 } PropertyChanges { target: applicationArea - y: -510 + y: -590 } PropertyChanges { target: shortcutArea - y: 720 + y: 900 } } ] @@ -135,7 +145,7 @@ Window { anchors.right: parent.right anchors.rightMargin: 17 anchors.top: parent.top - anchors.topMargin: 2 + anchors.topMargin: 182 z: 1 Image { id: image @@ -164,7 +174,7 @@ Window { height: 61 anchors.right: switchBtn.left anchors.top: parent.top - anchors.topMargin: 2 + anchors.topMargin: 182 z: 1 property bool enableSplitSwitchBtn: false Image {