Multiply source size by scale factor
Might be unnecessary, but docs are unclear on that.
This commit is contained in:
parent
9b9d4bec70
commit
a0699f5247
7 changed files with 20 additions and 16 deletions
|
|
@ -6,6 +6,7 @@ import Qt.labs.platform 1.1 as Platform
|
|||
import QtQuick 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
import QtQuick.Layouts 1.2
|
||||
import QtQuick.Window 2.15
|
||||
import im.nheko 1.0
|
||||
|
||||
import "./delegates"
|
||||
|
|
@ -133,8 +134,8 @@ Rectangle {
|
|||
Layout.rowSpan: 2
|
||||
Layout.preferredHeight: Nheko.avatarSize - Nheko.paddingMedium
|
||||
Layout.preferredWidth: Nheko.avatarSize - Nheko.paddingMedium
|
||||
sourceSize.height: Layout.preferredHeight
|
||||
sourceSize.width: Layout.preferredWidth
|
||||
sourceSize.height: Layout.preferredHeight * Screen.devicePixelRatio
|
||||
sourceSize.width: Layout.preferredWidth * Screen.devicePixelRatio
|
||||
visible: isEncrypted
|
||||
encrypted: isEncrypted
|
||||
trust: trustlevel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue