|
|
@ -130,13 +130,13 @@ TimelineEvent { |
|
|
|
anchors.top: gridContainer.top |
|
|
|
anchors.top: gridContainer.top |
|
|
|
anchors.left: gridContainer.left |
|
|
|
anchors.left: gridContainer.left |
|
|
|
anchors.topMargin: -2 |
|
|
|
anchors.topMargin: -2 |
|
|
|
anchors.leftMargin: -2 |
|
|
|
anchors.leftMargin: -2 + (stateEventSpacing.visible ? (stateEventSpacing.width + gridContainer.spacing) : 0) |
|
|
|
color: "transparent" |
|
|
|
color: "transparent" |
|
|
|
border.color: Nheko.theme.red |
|
|
|
border.color: Nheko.theme.red |
|
|
|
border.width: wrapper.notificationlevel == MtxEvent.Highlight ? 1 : 0 |
|
|
|
border.width: wrapper.notificationlevel == MtxEvent.Highlight ? 1 : 0 |
|
|
|
radius: 4 |
|
|
|
radius: 4 |
|
|
|
height: contentColumn.implicitHeight + 4 |
|
|
|
height: contentColumn.implicitHeight + 4 |
|
|
|
width: contentColumn.implicitWidth + 4 |
|
|
|
width: contentColumn.implicitWidth + 4 + (wrapper.threadId ? (4 + gridContainer.spacing) : 0) |
|
|
|
}, |
|
|
|
}, |
|
|
|
Row { |
|
|
|
Row { |
|
|
|
id: gridContainer |
|
|
|
id: gridContainer |
|
|
@ -181,6 +181,7 @@ TimelineEvent { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Item { |
|
|
|
Item { |
|
|
|
|
|
|
|
id: stateEventSpacing |
|
|
|
visible: wrapper.isStateEvent |
|
|
|
visible: wrapper.isStateEvent |
|
|
|
width: (wrapper.maxWidth - (wrapper.main?.width ?? 0)) / 2 |
|
|
|
width: (wrapper.maxWidth - (wrapper.main?.width ?? 0)) / 2 |
|
|
|
height: 1 |
|
|
|
height: 1 |
|
|
|