mirror of
https://github.com/muesli/telephant
synced 2025-02-16 19:48:24 +00:00
Smaller display for our own media in like/share notifications
This commit is contained in:
parent
6517d781e5
commit
335314510f
1 changed files with 3 additions and 1 deletions
|
@ -162,7 +162,9 @@ ColumnLayout {
|
|||
Layout.topMargin: 4
|
||||
Layout.fillWidth: true
|
||||
// Layout.maximumWidth: sourceSize.width
|
||||
Layout.maximumHeight: Math.min(384, paintedHeight + 8)
|
||||
Layout.maximumHeight: (accountBridge.username == author && (like || forward)) ?
|
||||
Math.min(384 / 3, paintedHeight + 8) :
|
||||
Math.min(384, paintedHeight + 8)
|
||||
source: media
|
||||
fillMode: Image.PreserveAspectFit
|
||||
verticalAlignment: Image.AlignBottom
|
||||
|
|
Loading…
Add table
Reference in a new issue