Declare hoverEnabled: true explicitly in CustomButton

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2023-05-28 00:00:58 +08:00 committed by Matthieu Gallien
parent 97cf9390fa
commit 4c096a885c

View file

@ -45,6 +45,8 @@ Button {
rightPadding: root.text === "" ? Style.smallSpacing : Style.standardSpacing rightPadding: root.text === "" ? Style.smallSpacing : Style.standardSpacing
implicitWidth: contentItem.implicitWidth + leftPadding + rightPadding implicitWidth: contentItem.implicitWidth + leftPadding + rightPadding
hoverEnabled: true
NCToolTip { NCToolTip {
text: root.toolTipText text: root.toolTipText
visible: root.toolTipText !== "" && root.hovered visible: root.toolTipText !== "" && root.hovered