Page MenuHomePhorge

D100.1732337307.diff
No OneTemporary

Size
3 KB
Referenced Files
None
Subscribers
None

D100.1732337307.diff

diff --git a/src/contents/ui/Bubble.qml b/src/contents/ui/Bubble.qml
--- a/src/contents/ui/Bubble.qml
+++ b/src/contents/ui/Bubble.qml
@@ -21,10 +21,11 @@
property var currentEvent: event
property var menuContent: []
+ topPadding: 0
+ bottomPadding: 0
readonly property var bubbleSpacing: leftPadding + rightPadding
readonly property double replyMaxHeight: Kirigami.Units.gridUnit * 7
Layout.fillWidth: true
- Layout.preferredHeight: bubbleRootLayout.implicitHeight
property var backgroundItem: Rectangle {
anchors.fill: parent
@@ -110,10 +111,8 @@
}
}
- RowLayout {
+ contentItem: RowLayout {
id: bubbleRootLayout
- anchors.left: parent.left
- anchors.right: parent.right
property var replyToOrAnnotatedEventId: currentEvent.replyingToEventId || (currentEvent.relationType === 'm.annotation' ? currentEvent.relatedEventId : '')
ColumnLayout {
diff --git a/src/contents/ui/Completion.qml b/src/contents/ui/Completion.qml
--- a/src/contents/ui/Completion.qml
+++ b/src/contents/ui/Completion.qml
@@ -39,12 +39,11 @@
property var nameProvider: Kazv.UserNameProvider {
user: member
}
- height: completionItemLayout.implicitHeight
width: ListView.view.width
onClicked: mentionUserRequested(member.userId)
- RowLayout {
+ contentItem: RowLayout {
id: completionItemLayout
Kazv.AvatarAdapter {
Layout.preferredWidth: Kirigami.Units.iconSizes.medium
diff --git a/src/contents/ui/EventReadIndicator.qml b/src/contents/ui/EventReadIndicator.qml
--- a/src/contents/ui/EventReadIndicator.qml
+++ b/src/contents/ui/EventReadIndicator.qml
@@ -23,13 +23,9 @@
visible: shouldShow && readIndicator.model.count > 0
- implicitHeight: layout.implicitHeight
- implicitWidth: layout.implicitWidth
-
- RowLayout {
+ contentItem: RowLayout {
id: layout
objectName: 'readIndicatorLayout'
- anchors.fill: parent
Repeater {
model: readIndicator.actualItems
@@ -72,8 +68,6 @@
ItemDelegate {
Layout.fillWidth: true
- implicitWidth: itemLayout.implicitWidth
- implicitHeight: itemLayout.implicitHeight
property var member: readIndicator.model.at(index)
property var nameProvider: Kazv.UserNameProvider {
user: member
@@ -82,9 +76,8 @@
activateUserPage(member, room);
readIndicatorDrawer.close();
}
- RowLayout {
+ contentItem: RowLayout {
id: itemLayout
- anchors.fill: parent
Kazv.AvatarAdapter {
objectName: `readIndicatorAvatar${index}`
Layout.preferredWidth: readIndicator.avatarSize
diff --git a/src/contents/ui/RoomTimelineView.qml b/src/contents/ui/RoomTimelineView.qml
--- a/src/contents/ui/RoomTimelineView.qml
+++ b/src/contents/ui/RoomTimelineView.qml
@@ -18,7 +18,7 @@
property string selectedEventId
- spacing: Kirigami.Units.largeSpacing
+ spacing: 0
model: timeline

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 22, 8:48 PM (3 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39078
Default Alt Text
D100.1732337307.diff (3 KB)

Event Timeline