Reformat code.

This commit is contained in:
Black Hat
2018-09-04 21:13:14 +08:00
parent 412b5201bf
commit aa29f5252d
17 changed files with 139 additions and 90 deletions

View File

@@ -14,10 +14,10 @@ RowLayout {
signal saveFileAs()
signal openExternally()
id: messageRow
z: -5
id: messageRow
Layout.alignment: sentByMe ? Qt.AlignRight : Qt.AlignLeft
spacing: 6
@@ -100,14 +100,16 @@ RowLayout {
id: imageComponent
DownloadableContent {
id: downloadable
width: messageImage.width
height: messageImage.height
id: downloadable
AutoImage {
id: messageImage
z: -4
id: messageImage
sourceSize: 128
source: "image://mxc/" + (content.thumbnail_url ? content.thumbnail_url : content.url)