From c8f4700dafba86c8cd3f002a1862fc4998a1a059 Mon Sep 17 00:00:00 2001 From: Camila Ayres Date: Thu, 29 Aug 2024 17:22:44 +0200 Subject: [PATCH] Clean HeaderButton component from customizations. Signed-off-by: Camila Ayres --- src/gui/tray/HeaderButton.qml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/gui/tray/HeaderButton.qml b/src/gui/tray/HeaderButton.qml index 6bdcb28768..6d06e94bc8 100644 --- a/src/gui/tray/HeaderButton.qml +++ b/src/gui/tray/HeaderButton.qml @@ -36,4 +36,16 @@ Button { Layout.alignment: Qt.AlignRight Layout.preferredWidth: Style.trayWindowHeaderHeight Layout.preferredHeight: Style.trayWindowHeaderHeight + + Image { + id: internalImage + anchors.centerIn: parent + width: root.icon.width + height: root.icon.height + source: root.icon.source + sourceSize { + width: root.icon.width + height: root.icon.height + } + } }