[vlc-commits] qml: don't use bold font for timing text in ControlBar

Prince Gupta git at videolan.org
Mon Feb 8 10:00:01 UTC 2021


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | 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 <pierre at videolabs.io>

> 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



More information about the vlc-commits mailing list