mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +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.fillWidth: true
|
||||||
Layout.maximumWidth: tempWidth
|
Layout.maximumWidth: tempWidth
|
||||||
|
Layout.maximumHeight: timelineView.height / 8
|
||||||
containerHeight: timelineView.height
|
containerHeight: timelineView.height
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue