Page MenuHomePhorge

D54.1732330817.diff
No OneTemporary

Size
2 KB
Referenced Files
None
Subscribers
None

D54.1732330817.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
@@ -7,6 +7,7 @@
import QtQuick 2.15
import QtQuick.Layouts 1.15
import QtQuick.Controls 2.15
+import QtQuick.Window 2.15
import org.kde.kirigami 2.13 as Kirigami
@@ -36,6 +37,7 @@
title: l10n.get('event-source-popup-title')
Kazv.EventSourceView {
+ Layout.preferredWidth: Math.min(Kirigami.Units.gridUnit * 40, Window.width)
event: upper.currentEvent
}
}
diff --git a/src/contents/ui/SendMessageBox.qml b/src/contents/ui/SendMessageBox.qml
--- a/src/contents/ui/SendMessageBox.qml
+++ b/src/contents/ui/SendMessageBox.qml
@@ -7,6 +7,7 @@
import QtQuick 2.15
import QtQuick.Layouts 1.15
import QtQuick.Controls 2.15
+import QtQuick.Window 2.15
import org.kde.kirigami 2.13 as Kirigami
import moe.kazv.mxc.kazv 0.0 as MK
@@ -195,6 +196,7 @@
property var confirmUploadPopup: ConfirmUploadPopup {
id: confirmUploadPopup
+ parent: applicationWindow().overlay
onUploadRequested: (url) => {
sendMessageBox.uploadFile(url);
}
@@ -215,9 +217,11 @@
property var stickerPopup: Kirigami.OverlaySheet {
id: stickerPopup
+ parent: applicationWindow().overlay
title: l10n.get('send-message-box-stickers-popup-title')
Kazv.StickerPicker {
+ Layout.preferredWidth: Math.min(Kirigami.Units.gridUnit * 40, Window.width)
stickerPackList: matrixSdk.stickerPackList()
onSendMessageRequested: eventJson => {
console.log(JSON.stringify(eventJson));
diff --git a/src/contents/ui/event-types/Image.qml b/src/contents/ui/event-types/Image.qml
--- a/src/contents/ui/event-types/Image.qml
+++ b/src/contents/ui/event-types/Image.qml
@@ -71,6 +71,7 @@
property var canAddSticker: !!event.content.url
property var addStickerPopupComp: Component {
Kazv.AddStickerPopup {
+ parent: applicationWindow().overlay
shouldSelfDestroy: true
stickerPackList: matrixSdk.stickerPackList()
event: upper.curEvent
diff --git a/src/contents/ui/room-settings/RoomSettingsPage.qml b/src/contents/ui/room-settings/RoomSettingsPage.qml
--- a/src/contents/ui/room-settings/RoomSettingsPage.qml
+++ b/src/contents/ui/room-settings/RoomSettingsPage.qml
@@ -32,6 +32,7 @@
}
property var encryptionPopup: Kirigami.PromptDialog {
+ parent: roomSettingsPage.overlay
objectName: 'encryptionPopup'
title: l10n.get('room-settings-enable-encryption-prompt-dialog-title')
standardButtons: Kirigami.Dialog.Ok | Kirigami.Dialog.Cancel

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 22, 7:00 PM (1 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39053
Default Alt Text
D54.1732330817.diff (2 KB)

Event Timeline