diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2021-11-15 19:04:33 -0500 |
---|---|---|
committer | Loren Burkholder <computersemiexpert@outlook.com> | 2021-11-16 18:53:44 -0500 |
commit | f048caee69d15381a365b91a158df7d14b463adb (patch) | |
tree | 79706052882cc83fb2f655f6fa7fb309d48dad32 /resources/qml/dialogs | |
parent | Remove duplicate property (diff) | |
download | nheko-f048caee69d15381a365b91a158df7d14b463adb.tar.xz |
Simplify code for padding delegates
Diffstat (limited to 'resources/qml/dialogs')
-rw-r--r-- | resources/qml/dialogs/InviteDialog.qml | 2 | ||||
-rw-r--r-- | resources/qml/dialogs/ReadReceipts.qml | 10 |
2 files changed, 8 insertions, 4 deletions
diff --git a/resources/qml/dialogs/InviteDialog.qml b/resources/qml/dialogs/InviteDialog.qml index 6ee6fbf5..3acaa69d 100644 --- a/resources/qml/dialogs/InviteDialog.qml +++ b/resources/qml/dialogs/InviteDialog.qml @@ -155,7 +155,7 @@ ApplicationWindow { } ImageButton { - image: ":/icons/icons/ui/remove-symbol.png" + image: ":/icons/icons/ui/dismiss.svg" onClicked: invitees.removeUser(model.mxid) } diff --git a/resources/qml/dialogs/ReadReceipts.qml b/resources/qml/dialogs/ReadReceipts.qml index ad1c44e0..1afa4785 100644 --- a/resources/qml/dialogs/ReadReceipts.qml +++ b/resources/qml/dialogs/ReadReceipts.qml @@ -75,8 +75,8 @@ ApplicationWindow { id: receiptLayout spacing: Nheko.paddingMedium - anchors.verticalCenter: parent.verticalCenter - x: parent.x + Nheko.paddingSmall + anchors.fill: parent + anchors.margins: Nheko.paddingSmall Avatar { width: Nheko.avatarSize @@ -103,12 +103,16 @@ ApplicationWindow { } Item { - Layout.fillHeight: true Layout.fillWidth: true } } + Item { + Layout.fillWidth: true + Layout.fillHeight: true + } + } CursorShape { |