diff options
author | NepNep21 <43792621+NepNep21@users.noreply.github.com> | 2023-10-25 19:38:04 -0300 |
---|---|---|
committer | NepNep21 <43792621+NepNep21@users.noreply.github.com> | 2023-10-25 19:38:04 -0300 |
commit | ad68cd8b4c5eb05c807f261f7ba7e62475e41ceb (patch) | |
tree | bb2aafb7c43c5e157b6c47a1849132088a1c928b /resources | |
parent | Move dialog to settings page and add avatar image to delegate (diff) | |
download | nheko-ad68cd8b4c5eb05c807f261f7ba7e62475e41ceb.tar.xz |
Switch to X icon and add close button
Diffstat (limited to 'resources')
-rw-r--r-- | resources/qml/dialogs/IgnoredUsers.qml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/resources/qml/dialogs/IgnoredUsers.qml b/resources/qml/dialogs/IgnoredUsers.qml index 6527eb18..2d8cc920 100644 --- a/resources/qml/dialogs/IgnoredUsers.qml +++ b/resources/qml/dialogs/IgnoredUsers.qml @@ -23,6 +23,7 @@ Window { id: view anchors.fill: parent spacing: Nheko.paddingMedium + footerPositioning: ListView.OverlayFooter model: TimelineManager.ignoredUsers header: ColumnLayout { @@ -59,12 +60,24 @@ Window { ImageButton { Layout.preferredHeight: 24 Layout.preferredWidth: 24 - image: ":/icons/icons/ui/delete.svg" + image: ":/icons/icons/ui/dismiss.svg" hoverEnabled: true ToolTip.visible: hovered ToolTip.text: qsTr("Stop Ignoring.") onClicked: profile.ignored = false } } + footer: DialogButtonBox { + z: 2 + width: view.width + alignment: Qt.AlignRight + standardButtons: DialogButtonBox.Ok + onAccepted: ignoredUsers.close() + + background: Rectangle { + anchors.fill: parent + color: palette.window + } + } } } |