mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-29 01:39:19 +00:00
fix(ui/modules/Linphone/Chat/FileMessage): fix thumbnail size
This commit is contained in:
parent
9df5166ea4
commit
95628c7100
2 changed files with 4 additions and 8 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue