~paulliu/unity8/attribute

« back to all changes in this revision

Viewing changes to qml/Launcher/LauncherPanel.qml

  • Committer: CI bot
  • Author(s): Michael Zanetti
  • Date: 2014-07-09 19:45:35 UTC
  • mfrom: (977.9.5 unity8-launcher-new-background)
  • Revision ID: ps-jenkins@lists.canonical.com-20140709194535-oex98lw6143ehnmk
update launcher background according to latest design Fixes: 1336314
Approved by: PS Jenkins bot, PS Jenkins bot, Michał Sawicz, PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
import "../Components/ListItems"
23
23
import "../Components/"
24
24
 
25
 
Item {
 
25
Rectangle {
26
26
    id: root
 
27
    color: "#B2000000"
27
28
 
28
29
    rotation: inverted ? 180 : 0
29
30
 
37
38
    signal applicationSelected(string appId)
38
39
    signal showDashHome()
39
40
 
40
 
    BorderImage {
41
 
        id: background
42
 
        source: "graphics/launcher_bg.sci"
43
 
        anchors.fill: parent
44
 
        anchors.rightMargin: root.inverted ? 0 : -units.gu(1)
45
 
        anchors.leftMargin: root.inverted ? -units.gu(1) : 0
46
 
        rotation: root.rotation
47
 
    }
48
 
 
49
41
    Column {
50
42
        id: mainColumn
51
43
        anchors {
52
44
            fill: parent
53
45
        }
54
46
 
55
 
        MouseArea {
56
 
            id: dashItem
 
47
        Rectangle {
57
48
            width: parent.width
58
49
            height: units.gu(7)
59
 
            onClicked: root.showDashHome()
60
 
            z: 1
 
50
            color: "#de4814"
61
51
            Image {
62
52
                objectName: "dashItem"
63
53
                width: units.gu(5)
66
56
                source: "graphics/home.png"
67
57
                rotation: root.rotation
68
58
            }
 
59
            MouseArea {
 
60
                id: dashItem
 
61
                anchors.fill: parent
 
62
                onClicked: root.showDashHome()
 
63
                z: 1
 
64
            }
69
65
        }
 
66
 
70
67
        ThinDivider {
71
68
            anchors {
72
69
                left: parent.left