Use layout margin instead of Item after Daybreak
This commit is contained in:
parent
1dff7d676e
commit
d4fb38fd1a
2
TODO.md
2
TODO.md
|
@ -1,5 +1,7 @@
|
|||
# TODO
|
||||
|
||||
- Avatar tooltip can get displayed in front of presence menu
|
||||
|
||||
- global presence control
|
||||
|
||||
- fix members not synced bug
|
||||
|
|
|
@ -94,8 +94,8 @@ HColumnLayout {
|
|||
|
||||
Item {
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight:
|
||||
model.event_type === "RoomCreateEvent" ? 0 : separationSpacing
|
||||
visible: model.event_type !== "RoomCreateEvent"
|
||||
Layout.preferredHeight: separationSpacing
|
||||
}
|
||||
|
||||
Daybreak {
|
||||
|
@ -103,13 +103,7 @@ HColumnLayout {
|
|||
|
||||
Layout.fillWidth: true
|
||||
Layout.minimumWidth: parent.width
|
||||
}
|
||||
|
||||
Item {
|
||||
visible: dayBreak
|
||||
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: separationSpacing
|
||||
Layout.bottomMargin: separationSpacing
|
||||
}
|
||||
|
||||
EventContent {
|
||||
|
|
Loading…
Reference in New Issue
Block a user