X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=homescreen%2Fqml%2Fmain.qml;h=909770d8c0741cff95cb9c79ed8b58f6265c5111;hb=e7ab450f4827c66dbcb67f49317c045512e22789;hp=f5233397285cdc5feccc115084fb853333be012c;hpb=9e12877a80b90a1921a8e8714c0c5464779a6ba6;p=apps%2Fhomescreen.git diff --git a/homescreen/qml/main.qml b/homescreen/qml/main.qml index f523339..909770d 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 {