make cursor shape pointing hand on button hover

This commit is contained in:
end-4
2025-04-17 16:39:23 +02:00
parent 873cb24642
commit f798b912a6
9 changed files with 24 additions and 5 deletions
@@ -11,6 +11,8 @@ Button {
required default property Item content
property bool extraActiveCondition: false
PointingHandInteraction{}
implicitHeight: Math.max(content.implicitHeight, 26, content.implicitHeight)
implicitWidth: Math.max(content.implicitHeight, 26, content.implicitWidth)
contentItem: content