From e09af0b1017726afe41a078230387509f7af5c8f Mon Sep 17 00:00:00 2001 From: Loren Burkholder Date: Sat, 13 Nov 2021 14:38:22 -0500 Subject: Nicer padding --- resources/qml/dialogs/InviteDialog.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'resources/qml/dialogs/InviteDialog.qml') diff --git a/resources/qml/dialogs/InviteDialog.qml b/resources/qml/dialogs/InviteDialog.qml index c9d247d7..168819c4 100644 --- a/resources/qml/dialogs/InviteDialog.qml +++ b/resources/qml/dialogs/InviteDialog.qml @@ -98,14 +98,13 @@ ApplicationWindow { Layout.fillWidth: true Layout.fillHeight: true model: invitees - spacing: Nheko.paddingMedium delegate: ItemDelegate { id: del hoverEnabled: true width: ListView.view.width - height: layout.implicitHeight + height: layout.implicitHeight + Nheko.paddingSmall * 2 onClicked: TimelineManager.openGlobalUserProfile(model.mxid) background: Rectangle { color: del.hovered ? Nheko.colors.dark : inviteDialogRoot.color @@ -115,6 +114,8 @@ ApplicationWindow { id: layout spacing: Nheko.paddingMedium + anchors.verticalCenter: parent.verticalCenter + x: parent.x + Nheko.paddingSmall Avatar { width: Nheko.avatarSize -- cgit 1.5.1