mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-21 18:50:47 +03:00
Improve image size limiting
This commit is contained in:
parent
9ed0e887bd
commit
aff58272c6
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue