[vlc-devel] [PATCH 01/38] qml: add progress indicator text to miniplayer

Fatih Uzunoglu fuzun54 at outlook.com
Thu Aug 20 19:55:10 CEST 2020


---
 modules/gui/qt/player/qml/MiniPlayer.qml | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/modules/gui/qt/player/qml/MiniPlayer.qml b/modules/gui/qt/player/qml/MiniPlayer.qml
index 5bee416abc..4ee41d91de 100644
--- a/modules/gui/qt/player/qml/MiniPlayer.qml
+++ b/modules/gui/qt/player/qml/MiniPlayer.qml
@@ -107,18 +107,19 @@ Widgets.NavigableFocusScope {
                         anchors.verticalCenter: parent.verticalCenter
                         leftPadding: VLCStyle.margin_normal
 
-                        Text {
+                        Widgets.MenuLabel {
                             id: titleLabel
                             text: mainPlaylistController.currentItem.title
-                            font.pixelSize: VLCStyle.fontSize_large
-                            color: VLCStyle.colors.text
                         }
 
-                        Text {
+                        Widgets.MenuCaption {
                             id: artistLabel
                             text: mainPlaylistController.currentItem.artist
-                            font.pixelSize: VLCStyle.fontSize_normal
-                            color: VLCStyle.colors.textInactive
+                        }
+
+                        Widgets.MenuCaption {
+                            id: progressIndicator
+                            text: player.time.toString() + " / " + player.length.toString()
                         }
                     }
                 }
-- 
2.25.1



More information about the vlc-devel mailing list