Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85819156
D376.1793002735.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D376.1793002735.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
@@ -120,12 +120,15 @@
}
}
- contentItem: RowLayout {
+ contentItem: GridLayout {
id: bubbleRootLayout
+ columns: pageStack.wideMode ? 3 : 2
property var replyToOrAnnotatedEventId: currentEvent.replyingToEventId || (currentEvent.relationType === 'm.annotation' ? currentEvent.relatedEventId : '')
ColumnLayout {
Layout.fillWidth: true
+ Layout.row: 0
+ Layout.column: 0
MouseArea {
visible: bubbleRootLayout.replyToOrAnnotatedEventId && !compactMode
@@ -192,6 +195,11 @@
RowLayout {
Layout.alignment: Qt.AlignBottom
+ Layout.row: pageStack.wideMode ? 0 : 1
+ Layout.column: pageStack.wideMode ? 1 : 0
+ Layout.columnSpan: pageStack.wideMode ? 1 : 2
+ Layout.fillWidth: !pageStack.wideMode
+
Kirigami.Icon {
source: /* iconName: */ 'emblem-encrypted-locked'
visible: !compactMode && event && event.encrypted
@@ -251,14 +259,16 @@
shouldShow: !compactMode && !event.isLocalEcho
model: event.readers()
}
+ }
- ToolButton {
- id: moreButton
- objectName: 'moreButton'
- visible: !compactMode
- action: popupAction
- display: AbstractButton.IconOnly
- }
+ ToolButton {
+ id: moreButton
+ objectName: 'moreButton'
+ visible: !compactMode
+ action: popupAction
+ display: AbstractButton.IconOnly
+ Layout.row: 0
+ Layout.column: pageStack.wideMode ? 2 : 1
}
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Oct 26, 1:18 AM (22 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1794782
Default Alt Text
D376.1793002735.diff (1 KB)
Attached To
Mode
D376: Use a two-row bubble layout in a narrow window
Attached
Detach File
Event Timeline