Skip to content
Snippets Groups Projects
Verified Commit 4ec463be authored by Joe Donofry's avatar Joe Donofry
Browse files

Fix (hopefully) HiDPI scaling issues with edit and encryption icons

parent 07fd58e5
No related branches found
No related tags found
No related merge requests found
Pipeline #5153 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment