Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F114931
D100.1732592590.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D100.1732592590.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 7:43 PM (11 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39890
Default Alt Text
D100.1732592590.diff (3 KB)
Attached To
Mode
D100: Fix ItemDelegate display
Attached
Detach File
Event Timeline
Log In to Comment