Fix spacing of Effect row

Using implicitHeight of the row layout as the height.

REVIEW: 116757
This commit is contained in:
Martin Gräßlin 2014-03-13 19:51:12 +01:00
parent 7166bdad61
commit cd5c5498af

View file

@ -27,7 +27,7 @@ import org.kde.kwin.kwincompositing 1.0
Rectangle {
id: item
width: parent.width
height: childrenRect.height
height: rowEffect.implicitHeight + rowEffect.spacing
color: item.ListView.isCurrentItem ? effectView.backgroundActiveColor : index % 2 ? effectView.backgroundNormalColor : effectView.backgroundAlternateColor
signal changed()
property bool checked: model.EffectStatusRole