vlc | branch: master | Fatih Uzunoglu <fuzu...@outlook.com> | Thu Jul 30 00:04:39 2020 +0300| [2876bdc7ad231b6c5884586a00125e9a929e5d5d] | committer: Pierre Lamot
qml: show tooltip when playlist item text is clipped > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2876bdc7ad231b6c5884586a00125e9a929e5d5d --- modules/gui/qt/playlist/qml/PLItem.qml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/gui/qt/playlist/qml/PLItem.qml b/modules/gui/qt/playlist/qml/PLItem.qml index 7a3b786170..bdc5ef4445 100644 --- a/modules/gui/qt/playlist/qml/PLItem.qml +++ b/modules/gui/qt/playlist/qml/PLItem.qml @@ -216,6 +216,15 @@ Rectangle { Layout.fillWidth: true Layout.leftMargin: VLCStyle.margin_large + ToolTip { + id: textInfoExtendTooltip + text: textArtistHider.visible ? (textInfoHider.visible ? textInfo.text + '\n' + textArtist.text : textArtist.text) : textInfo.text + visible: (root.hovered || model.selected) && (textArtistHider.visible || textInfoHider.visible) + opacity: 0.75 + delay: 1000 + timeout: 2000 + } + Widgets.ListLabel { id: textInfo _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits