Commit 95628c71 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(ui/modules/Linphone/Chat/FileMessage): fix thumbnail size

parent 9df5166e
......@@ -108,8 +108,8 @@ Row {
Loader {
id: thumbnailProvider
Layout.preferredHeight: ChatStyle.entry.message.file.thumbnail.height
Layout.preferredWidth: ChatStyle.entry.message.file.thumbnail.width
Layout.fillHeight: true
Layout.preferredWidth: parent.height
sourceComponent: $chatEntry.thumbnail ? thumbnail : extension
......@@ -259,6 +259,7 @@ Row {
onMouseXChanged: handleMouseMove.call(this, mouse)
onMouseYChanged: handleMouseMove.call(this, mouse)
onExited: thumbnailProvider.state = ''
onClicked: {
// TODO: Handle open.
......
......@@ -67,7 +67,7 @@ QtObject {
property int width: 250
property QtObject animation: QtObject {
property int duration: 300
property int duration: 200
property real to: 1.5
}
......@@ -97,11 +97,6 @@ QtObject {
}
}
}
property QtObject thumbnail: QtObject {
property int height: 50
property int width: 50
}
}
property QtObject images: QtObject {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment