mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 03:00:46 +03:00
Fix (hopefully) HiDPI scaling issues with edit and encryption icons
This commit is contained in:
parent
07fd58e59f
commit
4ec463bee2
2 changed files with 4 additions and 3 deletions
|
@ -59,8 +59,6 @@ Image {
|
|||
return sourceUrl + (stateImg.hovered ? unencryptedHoverColor : unencryptedColor);
|
||||
}
|
||||
}
|
||||
sourceSize.height: height
|
||||
sourceSize.width: width
|
||||
width: 16
|
||||
|
||||
HoverHandler {
|
||||
|
|
|
@ -49,7 +49,8 @@ RowLayout {
|
|||
sourceSize.width: parent.iconSize * Screen.devicePixelRatio
|
||||
visible: metadata.isEdited || metadata.eventId == metadata.room.edit
|
||||
width: parent.iconSize
|
||||
|
||||
Layout.preferredWidth: parent.iconSize
|
||||
Layout.preferredHeight: parent.iconSize
|
||||
HoverHandler {
|
||||
id: editHovered
|
||||
|
||||
|
@ -77,6 +78,8 @@ RowLayout {
|
|||
trust: metadata.trustlevel
|
||||
visible: metadata.room.isEncrypted
|
||||
width: parent.iconSize
|
||||
Layout.preferredWidth: parent.iconSize
|
||||
Layout.preferredHeight: parent.iconSize
|
||||
}
|
||||
Label {
|
||||
id: ts
|
||||
|
|
Loading…
Reference in a new issue