[vlc-devel] [PATCH 10/33] qml: don't use bold font for timing text in ControlBar
Prince Gupta
guptaprince8832 at gmail.com
Wed Feb 3 10:56:26 UTC 2021
also use correct type for text
---
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
--
2.25.1
More information about the vlc-devel
mailing list