control: control x: background.x y: background.y width: background.width height: background.height useNinePatchImage: false overrideState: NativeStyle.StyleItem.AlwaysHovered opacity: control.hovered ? 1 : 0 visible: opacity !== 0 Behavior on opacity { NumberAnimation { duration: hoverButton.transitionDuration } } } contentItem: IconLabel { spacing: control.spacing mirrored: control.mirrored display: control.display icon: control.icon text: control.text font: control.font color: control.flat && !control.down ? (control.visualFocus ? control.palette.highlight : control.palette.windowText) : control.palette.buttonText } }