Add a small margin between the border of media and "Hide Media" button

I thought we had this already, I don't know where it went, but now it's
back.
This commit is contained in:
Joshua Goins
2025-09-11 13:36:51 +02:00
parent 877d5f34f7
commit 17b632eb78
2 changed files with 2 additions and 0 deletions

View File

@@ -49,6 +49,7 @@ Item {
QQC2.Button {
anchors.right: parent.right
anchors.top: parent.top
anchors.margins: Kirigami.Units.smallSpacing
visible: !_private.hideImage
icon.name: "view-hidden"
text: i18nc("@action:button", "Hide Image")

View File

@@ -177,6 +177,7 @@ Video {
QQC2.Button {
anchors.right: parent.right
anchors.top: parent.top
anchors.margins: Kirigami.Units.smallSpacing
visible: root.state !== "hidden"
icon.name: "view-hidden"
text: i18nc("@action:button", "Hide Image")