~bzoltan/ubuntu-ui-toolkit/new_list_item_01

« back to all changes in this revision

Viewing changes to modules/Ubuntu/Components/ListItemSelectablePanel.qml

prereq

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 */
16
16
 
17
17
import QtQuick 2.2
18
 
import Ubuntu.Components 1.1
 
18
import Ubuntu.Components 1.2
19
19
 
20
20
/*
21
21
  This component is the holder of the ListItem selection checkbox.
22
22
  */
23
 
Rectangle {
 
23
Item {
24
24
    id: panel
25
25
    width: height
26
26
 
34
34
      */
35
35
    property alias checked: checkbox.checked
36
36
 
37
 
    color: checked ? contentItem.pressedColor : contentItem.color
38
 
 
39
37
    anchors {
40
38
        right: contentItem ? contentItem.left : undefined
41
39
        top: contentItem ? contentItem.top : undefined