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 { ...@@ -108,8 +108,8 @@ Row {
Loader { Loader {
id: thumbnailProvider id: thumbnailProvider
Layout.preferredHeight: ChatStyle.entry.message.file.thumbnail.height Layout.fillHeight: true
Layout.preferredWidth: ChatStyle.entry.message.file.thumbnail.width Layout.preferredWidth: parent.height
sourceComponent: $chatEntry.thumbnail ? thumbnail : extension sourceComponent: $chatEntry.thumbnail ? thumbnail : extension
...@@ -259,6 +259,7 @@ Row { ...@@ -259,6 +259,7 @@ Row {
onMouseXChanged: handleMouseMove.call(this, mouse) onMouseXChanged: handleMouseMove.call(this, mouse)
onMouseYChanged: handleMouseMove.call(this, mouse) onMouseYChanged: handleMouseMove.call(this, mouse)
onExited: thumbnailProvider.state = ''
onClicked: { onClicked: {
// TODO: Handle open. // TODO: Handle open.
......
...@@ -67,7 +67,7 @@ QtObject { ...@@ -67,7 +67,7 @@ QtObject {
property int width: 250 property int width: 250
property QtObject animation: QtObject { property QtObject animation: QtObject {
property int duration: 300 property int duration: 200
property real to: 1.5 property real to: 1.5
} }
...@@ -97,11 +97,6 @@ QtObject { ...@@ -97,11 +97,6 @@ QtObject {
} }
} }
} }
property QtObject thumbnail: QtObject {
property int height: 50
property int width: 50
}
} }
property QtObject images: QtObject { 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