[vlc-commits] qml: make playlist item font bold when the item is current item

Fatih Uzunoglu git at videolan.org
Fri Jul 3 14:59:22 CEST 2020


vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Thu Jul  2 13:30:12 2020 +0300| [93e36d15ffbe535de3978e30d09c10c17089675b] | committer: Pierre Lamot

qml: make playlist item font bold when the item is current item

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=93e36d15ffbe535de3978e30d09c10c17089675b
---

 modules/gui/qt/playlist/qml/PLItem.qml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/gui/qt/playlist/qml/PLItem.qml b/modules/gui/qt/playlist/qml/PLItem.qml
index 69e56ee58a..e530169a80 100644
--- a/modules/gui/qt/playlist/qml/PLItem.qml
+++ b/modules/gui/qt/playlist/qml/PLItem.qml
@@ -143,6 +143,7 @@ Rectangle {
                 Widgets.ListLabel {
                     id: textInfo
 
+                    font.weight: model.isCurrent ? Font.Bold : Font.Normal
                     font.pixelSize: VLCStyle.fontSize_normal
                     elide: Text.ElideRight
 



More information about the vlc-commits mailing list