vlc | branch: master | Prince Gupta <[email protected]> | Fri Jan  8 
23:40:44 2021 +0530| [ce4e55e8658919c12749c1f400b364e49b004fb6] | committer: 
Pierre Lamot

qml: don't use bold font for timing text in ControlBar

also use correct type for text

Signed-off-by: Pierre Lamot <[email protected]>

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

 modules/gui/qt/player/qml/ControlBar.qml | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/modules/gui/qt/player/qml/ControlBar.qml 
b/modules/gui/qt/player/qml/ControlBar.qml
index ff0c8ea4a6..4dbbbfc0c2 100644
--- a/modules/gui/qt/player/qml/ControlBar.qml
+++ b/modules/gui/qt/player/qml/ControlBar.qml
@@ -53,11 +53,10 @@ Widgets.NavigableFocusScope {
             Layout.leftMargin: VLCStyle.margin_normal
             Layout.rightMargin: VLCStyle.margin_normal
 
-            Text {
+            Label {
                 text: player.time.toString()
                 color: root.colors.playerFg
                 font.pixelSize: VLCStyle.fontSize_normal
-                font.bold: true
                 Layout.alignment: Qt.AlignLeft
             }
 
@@ -65,14 +64,12 @@ Widgets.NavigableFocusScope {
                 Layout.fillWidth: true
             }
 
-
-            Text {
+            Label {
                 text: (mainInterface.showRemainingTime && 
player.remainingTime.valid())
                       ? "-" + player.remainingTime.toString()
                       : player.length.toString()
                 color: root.colors.playerFg
                 font.pixelSize: VLCStyle.fontSize_normal
-                font.bold: true
                 Layout.alignment: Qt.AlignRight
                 MouseArea {
                     anchors.fill: parent

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to