mirror of https://github.com/KDE/kasts.git
Fix tooltips
This commit is contained in:
parent
91b5c09992
commit
1afb62c314
|
@ -226,7 +226,7 @@ FocusScope {
|
|||
display: playerControlToolBar.tooNarrowChapter ? Controls.AbstractButton.IconOnly : Controls.AbstractButton.TextBesideIcon
|
||||
visible: chapterAction.visible && !playerControlToolBar.tooNarrowOverflow
|
||||
|
||||
Controls.ToolTip.visible: parent.hovered
|
||||
Controls.ToolTip.visible: hovered
|
||||
Controls.ToolTip.delay: Kirigami.Units.toolTipDelay
|
||||
Controls.ToolTip.text: i18nc("@action:button", "Show chapter list")
|
||||
}
|
||||
|
@ -237,7 +237,7 @@ FocusScope {
|
|||
display: playerControlToolBar.tooNarrowExtra ? Controls.AbstractButton.IconOnly : Controls.AbstractButton.TextBesideIcon
|
||||
visible: infoAction.visible && !playerControlToolBar.tooNarrowOverflow
|
||||
|
||||
Controls.ToolTip.visible: parent.hovered
|
||||
Controls.ToolTip.visible: hovered
|
||||
Controls.ToolTip.delay: Kirigami.Units.toolTipDelay
|
||||
Controls.ToolTip.text: i18nc("@action:button", "Show episode info")
|
||||
}
|
||||
|
@ -248,7 +248,7 @@ FocusScope {
|
|||
display: playerControlToolBar.tooNarrowExtra ? Controls.AbstractButton.IconOnly : Controls.AbstractButton.TextBesideIcon
|
||||
visible: !playerControlToolBar.tooNarrowOverflow
|
||||
|
||||
Controls.ToolTip.visible: parent.hovered
|
||||
Controls.ToolTip.visible: hovered
|
||||
Controls.ToolTip.delay: Kirigami.Units.toolTipDelay
|
||||
Controls.ToolTip.text: i18nc("@action:button", "Open sleep timer settings")
|
||||
}
|
||||
|
@ -262,7 +262,7 @@ FocusScope {
|
|||
enabled: AudioManager.PlaybackState != AudioManager.StoppedState && AudioManager.canPlay
|
||||
checked: volumePopup.visible
|
||||
|
||||
Controls.ToolTip.visible: parent.hovered
|
||||
Controls.ToolTip.visible: hovered
|
||||
Controls.ToolTip.delay: Kirigami.Units.toolTipDelay
|
||||
Controls.ToolTip.text: i18nc("@action:button", "Open volume settings")
|
||||
|
||||
|
@ -294,7 +294,7 @@ FocusScope {
|
|||
icon.name: AudioManager.muted ? "player-volume-muted" : "player-volume"
|
||||
onClicked: AudioManager.muted = !AudioManager.muted
|
||||
|
||||
Controls.ToolTip.visible: parent.hovered
|
||||
Controls.ToolTip.visible: hovered
|
||||
Controls.ToolTip.delay: Kirigami.Units.toolTipDelay
|
||||
Controls.ToolTip.text: i18nc("@action:button", "Toggle mute")
|
||||
|
||||
|
@ -311,7 +311,7 @@ FocusScope {
|
|||
visible: playerControlToolBar.tooNarrowOverflow
|
||||
checked: overflowMenu.visible
|
||||
|
||||
Controls.ToolTip.visible: parent.hovered
|
||||
Controls.ToolTip.visible: hovered
|
||||
Controls.ToolTip.delay: Kirigami.Units.toolTipDelay
|
||||
Controls.ToolTip.text: i18nc("@action:button", "Show more")
|
||||
|
||||
|
|
|
@ -233,9 +233,9 @@ Controls.ItemDelegate {
|
|||
pageStack.push("qrc:/FeedDetailsPage.qml", {"feed": feed})
|
||||
}
|
||||
|
||||
Controls.ToolTip.visible: hovered
|
||||
Controls.ToolTip.text: feed.name
|
||||
Controls.ToolTip.delay: Kirigami.Units.toolTipDelay
|
||||
Controls.ToolTip.y: cardSize + cardMargin
|
||||
|
||||
Kirigami.MenuDialog {
|
||||
id: actionOverlay
|
||||
|
|
|
@ -340,7 +340,7 @@ Kirigami.Page {
|
|||
enabled: AudioManager.PlaybackState != AudioManager.StoppedState && AudioManager.canPlay
|
||||
checked: volumePopup.visible
|
||||
|
||||
Controls.ToolTip.visible: parent.hovered
|
||||
Controls.ToolTip.visible: hovered
|
||||
Controls.ToolTip.delay: Kirigami.Units.toolTipDelay
|
||||
Controls.ToolTip.text: i18nc("@action:button", "Open volume settings")
|
||||
|
||||
|
@ -370,7 +370,7 @@ Kirigami.Page {
|
|||
icon.name: AudioManager.muted ? "player-volume-muted" : "player-volume"
|
||||
onClicked: AudioManager.muted = !AudioManager.muted
|
||||
|
||||
Controls.ToolTip.visible: parent.hovered
|
||||
Controls.ToolTip.visible: hovered
|
||||
Controls.ToolTip.delay: Kirigami.Units.toolTipDelay
|
||||
Controls.ToolTip.text: i18nc("@action:button", "Toggle mute")
|
||||
|
||||
|
|
Loading…
Reference in New Issue