diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-08-27 12:38:48 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-08-27 12:38:48 +0200 |
commit | aff58272c6518281bf535f604dcd3c5addd6c652 (patch) | |
tree | 03c97901e0bafeb3a399b467d87c5c43ad2850e4 /resources | |
parent | Fix reply backgrounds in images (diff) | |
download | nheko-aff58272c6518281bf535f604dcd3c5addd6c652.tar.xz |
Improve image size limiting
Diffstat (limited to 'resources')
-rw-r--r-- | resources/qml/TimelineEvent.qml | 1 | ||||
-rw-r--r-- | resources/qml/delegates/ImageMessage.qml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/resources/qml/TimelineEvent.qml b/resources/qml/TimelineEvent.qml index 30ec27b2..3e98a2cf 100644 --- a/resources/qml/TimelineEvent.qml +++ b/resources/qml/TimelineEvent.qml @@ -142,6 +142,7 @@ EventDelegateChooser { Layout.fillWidth: true Layout.maximumWidth: tempWidth + Layout.maximumHeight: timelineView.height / 8 containerHeight: timelineView.height } } diff --git a/resources/qml/delegates/ImageMessage.qml b/resources/qml/delegates/ImageMessage.qml index 48b7c5e4..504aba0d 100644 --- a/resources/qml/delegates/ImageMessage.qml +++ b/resources/qml/delegates/ImageMessage.qml @@ -117,6 +117,7 @@ AbstractButton { source: url != "" ? (url.replace("mxc://", "image://MxcImage/") + "?scale") : "" asynchronous: true fillMode: Image.PreserveAspectFit + horizontalAlignment: Image.AlignLeft smooth: true mipmap: true |