From bf451020af24c8c3a24f966a37a8ca97c3724e6f Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Fri, 19 May 2023 22:38:09 +0800 Subject: [PATCH] Limit the max height of images inside CustomButton Signed-off-by: Claudio Cambra --- src/gui/tray/NCButtonContents.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/tray/NCButtonContents.qml b/src/gui/tray/NCButtonContents.qml index c6fc57029..4247481b6 100644 --- a/src/gui/tray/NCButtonContents.qml +++ b/src/gui/tray/NCButtonContents.qml @@ -35,6 +35,7 @@ RowLayout { id: icon Layout.fillWidth: !buttonLabel.visible + Layout.maximumHeight: root.height source: root.hovered ? root.imageSourceHover : root.imageSource fillMode: Image.PreserveAspectFit -- 2.39.5