Show read marker

Fix #2
This commit is contained in:
Carl Schwan
2020-12-01 16:35:51 +01:00
parent 29fe130f6d
commit ae35846035

View File

@@ -12,7 +12,7 @@ import org.kde.kirigami 2.4 as Kirigami
Item {
default property alias innerObject : column.children
height: column.implicitHeight
height: column.implicitHeight + (readMarker ? 2 * Kirigami.Units.smallSpacing : 0)
ColumnLayout {
id: column
@@ -25,4 +25,14 @@ Item {
visible: showSection
}
}
Rectangle {
width: parent.width * 0.9
x: parent.width * 0.05
height: Kirigami.Units.smallSpacing
anchors.top: column.bottom
anchors.topMargin: Kirigami.Units.smallSpacing
visible: readMarker
color: Kirigami.Theme.positiveTextColor
}
}