~zsombi/ubuntu-ui-toolkit/60-action-value-type

« back to all changes in this revision

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

  • Committer: Zsombor Egri
  • Date: 2014-10-24 15:29:03 UTC
  • mfrom: (1224.4.54 55-snap-options)
  • Revision ID: zsombor.egri@canonical.com-20141024152903-ry315twxhmuw5ymw
prereq sync

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
    }
75
75
 
76
76
    Rectangle {
77
 
        anchors.fill: parent
 
77
        anchors {
 
78
            fill: parent
 
79
            // add overshoot margins to cover the background when tugged
 
80
            leftMargin: leadingPanel ? -units.gu(2) : 0
 
81
            rightMargin: leadingPanel ? 0 : -units.gu(2)
 
82
        }
78
83
        // FIXME: use Palette colors instead when available
79
84
        color: leadingPanel ? UbuntuColors.red : "white"
80
85
    }