Respect icon.height and width in custom button contents

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2023-05-19 22:38:30 +08:00 committed by Matthieu Gallien
parent 93efd2fb78
commit 3145f9cf83

View file

@ -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