summary refs log tree commit diff
path: root/resources/qml/RoomList.qml
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-11-16 20:35:10 -0500
committerLoren Burkholder <computersemiexpert@outlook.com>2021-11-16 20:35:10 -0500
commitb5e25a8369f4fc9b2dde6cca3f58204c618f2c0f (patch)
treeecf97ec78fd0bd71c4f7603f27fb8f32b7bcbab2 /resources/qml/RoomList.qml
parentSimplify code for padding delegates (diff)
downloadnheko-b5e25a8369f4fc9b2dde6cca3f58204c618f2c0f.tar.xz
Don't add arbitrary padding
This breaks the vertical-centeredness on the close button.
Diffstat (limited to 'resources/qml/RoomList.qml')
-rw-r--r--resources/qml/RoomList.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/resources/qml/RoomList.qml b/resources/qml/RoomList.qml
index 80f162d6..d3cc7aee 100644
--- a/resources/qml/RoomList.qml
+++ b/resources/qml/RoomList.qml
@@ -543,8 +543,7 @@ Page {
                     id: closeUnverifiedBubble
 
                     Layout.rightMargin: Nheko.paddingMedium
-                    Layout.topMargin: Nheko.paddingMedium
-                    Layout.alignment: Qt.AlignRight | Qt.AlignCenter
+                    Layout.alignment: Qt.AlignRight | Qt.AlignVCenter
                     hoverEnabled: true
                     width: fontMetrics.font.pixelSize
                     height: fontMetrics.font.pixelSize