@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user