summary refs log tree commit diff
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-11-13 14:38:22 -0500
committerLoren Burkholder <computersemiexpert@outlook.com>2021-11-16 18:40:48 -0500
commite09af0b1017726afe41a078230387509f7af5c8f (patch)
tree6dfdc64d7bc6c22e6a0b7434f5d1c42b77b1ea4b
parentAdd pointing hand cursor shape (diff)
downloadnheko-e09af0b1017726afe41a078230387509f7af5c8f.tar.xz
Nicer padding
-rw-r--r--resources/qml/dialogs/InviteDialog.qml5
-rw-r--r--resources/qml/dialogs/ReadReceipts.qml5
-rw-r--r--resources/qml/dialogs/RoomMembers.qml5
3 files changed, 9 insertions, 6 deletions
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 diff --git a/resources/qml/dialogs/ReadReceipts.qml b/resources/qml/dialogs/ReadReceipts.qml
index 0d35db84..f97706db 100644 --- a/resources/qml/dialogs/ReadReceipts.qml +++ b/resources/qml/dialogs/ReadReceipts.qml
@@ -54,7 +54,6 @@ ApplicationWindow { id: readReceiptsList clip: true - spacing: Nheko.paddingMedium boundsBehavior: Flickable.StopAtBounds model: readReceipts @@ -64,7 +63,7 @@ ApplicationWindow { onClicked: room.openUserProfile(model.mxid) padding: Nheko.paddingMedium width: ListView.view.width - height: receiptLayout.implicitHeight + height: receiptLayout.implicitHeight + Nheko.paddingSmall * 2 hoverEnabled: true ToolTip.visible: hovered ToolTip.text: model.mxid @@ -76,6 +75,8 @@ ApplicationWindow { id: receiptLayout spacing: Nheko.paddingMedium + anchors.verticalCenter: parent.verticalCenter + x: parent.x + Nheko.paddingSmall Avatar { width: Nheko.avatarSize diff --git a/resources/qml/dialogs/RoomMembers.qml b/resources/qml/dialogs/RoomMembers.qml
index c9371839..6750ed81 100644 --- a/resources/qml/dialogs/RoomMembers.qml +++ b/resources/qml/dialogs/RoomMembers.qml
@@ -75,7 +75,6 @@ ApplicationWindow { id: memberList clip: true - spacing: Nheko.paddingMedium boundsBehavior: Flickable.StopAtBounds model: members @@ -91,7 +90,7 @@ ApplicationWindow { onClicked: Rooms.currentRoom.openUserProfile(model.mxid) padding: Nheko.paddingMedium width: ListView.view.width - height: memberLayout.implicitHeight + height: memberLayout.implicitHeight + Nheko.paddingSmall * 2 hoverEnabled: true background: Rectangle { color: del.hovered ? Nheko.colors.dark : roomMembersRoot.color @@ -101,6 +100,8 @@ ApplicationWindow { id: memberLayout spacing: Nheko.paddingMedium + anchors.verticalCenter: parent.verticalCenter + x: parent.x + Nheko.paddingSmall Avatar { id: avatar