Skip to content
Snippets Groups Projects
Commit f3ecef5c authored by foxb612's avatar foxb612
Browse files

Fix UploadBox thumbnail size

parent ccd24650
No related branches found
No related tags found
No related merge requests found
Pipeline #3845 passed
......@@ -48,8 +48,8 @@ Page {
Layout.fillHeight: true
Layout.fillWidth: true
sourceSize.height: height
sourceSize.width: width
sourceSize.height: parent.availableHeight - namefield.height
sourceSize.width: parent.availableWidth
fillMode: Image.PreserveAspectFit
smooth: true
mipmap: true
......@@ -63,6 +63,7 @@ Page {
source: (modelData.thumbnail != "") ? modelData.thumbnail : ("image://colorimage/:/icons/icons/ui/"+typeStr+".svg?" + Nheko.colors.buttonText)
}
MatrixTextField {
id: namefield
Layout.fillWidth: true
text: modelData.filename
onTextEdited: modelData.filename = text
......
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