From: Claudio Cambra Date: Fri, 19 May 2023 14:38:30 +0000 (+0800) Subject: Respect icon.height and width in custom button contents X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~96^2^2~26^2~17 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fdb6d9c4cc68285b8281669a74e77a377e8ddeac;p=nextcloud-desktop.git Respect icon.height and width in custom button contents Signed-off-by: Claudio Cambra --- diff --git a/src/gui/tray/NCButtonContents.qml b/src/gui/tray/NCButtonContents.qml index a2f0afb79..4ce83b529 100644 --- a/src/gui/tray/NCButtonContents.qml +++ b/src/gui/tray/NCButtonContents.qml @@ -24,8 +24,8 @@ RowLayout { property bool hovered: false property string imageSourceHover: "" property string imageSource: "" - property int imageSourceWidth: 64 - property int imageSourceHeight: 64 + property int imageSourceWidth: undefined + property int imageSourceHeight: undefined property string text: "" property var display