~ci-train-bot/ubuntu-settings-components/ubuntu-settings-components-ubuntu-yakkety-landing-092

« back to all changes in this revision

Viewing changes to Ubuntu/Settings/Components/QuickReply.qml

  • Committer: Nick Dedekind
  • Date: 2013-10-04 10:04:18 UTC
  • mto: (50.2.3 usc.indicators-tests)
  • mto: This revision was merged to the branch mainline in revision 52.
  • Revision ID: nicholas.dedekind@gmail.com-20131004100418-ddpoed9tc3r25owa
Changes to indicator components to fit into settings

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
import QtQuick 2.0
22
22
import Ubuntu.Components 0.1
23
 
import Unity.Indicators 0.1 as Indicators
 
23
import Ubuntu.Components.ListItems 0.1 as ListItem
24
24
 
25
25
Item {
26
26
    id: quickReply
52
52
                width: units.gu(2)
53
53
                height: width
54
54
                fillMode: Image.PreserveAspectFit
55
 
                source: "qrc:/indicators/artwork/messaging/message_sms01_54px.png"
 
55
                source: "artwork/message_sms01_54px.png"
56
56
            }
57
57
 
58
58
            Label {
59
59
                height: parent.height
60
60
                verticalAlignment: Text.AlignVCenter
61
61
                fontSize: "small"
62
 
                color: "#8f8f88"
63
62
                text: "Quick reply with:"
64
63
            }
65
64
        }
66
65
 
67
 
        Indicators.HLine {
 
66
        ListItem.ThinDivider {
68
67
            anchors.bottom: parent.bottom
69
 
            color: "#20201F"
70
68
        }
71
69
    }
72
70
 
98
96
                    }
99
97
                    verticalAlignment: Text.AlignVCenter
100
98
                    fontSize: "medium"
101
 
                    color: "#e8e1d0"
102
99
                    text: modelData
103
100
                }
104
101
 
105
 
                Indicators.HLine {
 
102
                ListItem.ThinDivider {
106
103
                    anchors.top: parent.top
107
 
                    color: "#464543"
108
104
                }
109
 
 
110
 
                Indicators.HLine {
 
105
                ListItem.ThinDivider {
111
106
                    anchors.bottom: parent.bottom
112
 
                    color: "#20201F"
113
107
                }
114
108
 
115
109
                MouseArea {
157
151
            }
158
152
        }
159
153
 
160
 
        Indicators.HLine {
 
154
        ListItem.ThinDivider {
161
155
            anchors.top: parent.top
162
 
            color: "#464543"
163
156
        }
164
157
    }
165
158
}