From ea43ebfe915bc15eecf19a4daa9eeaa7773208b5 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 c6fc570297..4247481b6b 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