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 {
Layout.fillWidth: true
Layout.maximumWidth: tempWidth
Layout.maximumHeight: timelineView.height / 8
containerHeight: timelineView.height
}
}
......
......@@ -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
......
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