From: Claudio Cambra Date: Fri, 19 May 2023 14:38:09 +0000 (+0800) Subject: Limit the max height of images inside CustomButton X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~10^2~26^2~19 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=bf451020af24c8c3a24f966a37a8ca97c3724e6f;p=nextcloud-desktop.git Limit the max height of images inside CustomButton Signed-off-by: Claudio Cambra --- 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