Skip to content
Snippets Groups Projects
Verified Commit aff58272 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Improve image size limiting

parent 9ed0e887
No related branches found
No related tags found
No related merge requests found
...@@ -142,6 +142,7 @@ EventDelegateChooser { ...@@ -142,6 +142,7 @@ EventDelegateChooser {
Layout.fillWidth: true Layout.fillWidth: true
Layout.maximumWidth: tempWidth Layout.maximumWidth: tempWidth
Layout.maximumHeight: timelineView.height / 8
containerHeight: timelineView.height containerHeight: timelineView.height
} }
} }
......
...@@ -117,6 +117,7 @@ AbstractButton { ...@@ -117,6 +117,7 @@ AbstractButton {
source: url != "" ? (url.replace("mxc://", "image://MxcImage/") + "?scale") : "" source: url != "" ? (url.replace("mxc://", "image://MxcImage/") + "?scale") : ""
asynchronous: true asynchronous: true
fillMode: Image.PreserveAspectFit fillMode: Image.PreserveAspectFit
horizontalAlignment: Image.AlignLeft
smooth: true smooth: true
mipmap: true mipmap: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment