[vlc-commits] qml: remove time text bellow the seekbar

Pierre Lamot git at videolan.org
Thu Aug 29 10:44:53 CEST 2019


vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Thu Aug  1 16:49:39 2019 +0200| [c6de1124eba1bf4231a29393f39094476400d477] | committer: Jean-Baptiste Kempf

qml: remove time text bellow the seekbar

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

 modules/gui/qt/qml/player/SliderBar.qml | 28 ++--------------------------
 1 file changed, 2 insertions(+), 26 deletions(-)

diff --git a/modules/gui/qt/qml/player/SliderBar.qml b/modules/gui/qt/qml/player/SliderBar.qml
index 73e2e0980e..69c7f6da43 100644
--- a/modules/gui/qt/qml/player/SliderBar.qml
+++ b/modules/gui/qt/qml/player/SliderBar.qml
@@ -83,8 +83,8 @@ Slider {
         onPositionChanged: control.value = player.position
     }
 
-    height: control.barHeight + VLCStyle.fontHeight_normal + VLCStyle.margin_xxsmall * 2
-    implicitHeight: control.barHeight + VLCStyle.fontHeight_normal + VLCStyle.margin_xxsmall * 2
+    height: control.barHeight
+    implicitHeight: control.barHeight
 
     topPadding: 0
     leftPadding: 0
@@ -213,30 +213,6 @@ Slider {
             }
         }
 
-        Text {
-            text: player.time.toString()
-            color: VLCStyle.colors.text
-            font.pixelSize: VLCStyle.fontSize_normal
-            anchors {
-                bottom: parent.bottom
-                bottomMargin: VLCStyle.margin_xxsmall
-                left: parent.left
-                leftMargin: VLCStyle.margin_xxsmall
-            }
-        }
-
-        Text {
-            text: player.length.toString()
-            color: VLCStyle.colors.text
-            font.pixelSize: VLCStyle.fontSize_normal
-            anchors {
-                bottom: parent.bottom
-                bottomMargin: VLCStyle.margin_xxsmall
-                right: parent.right
-                rightMargin: VLCStyle.margin_xxsmall
-            }
-        }
-
         RowLayout {
             id: seekpointsRow
             spacing: 0



More information about the vlc-commits mailing list