[vlc-devel] [PATCH 15/21] qml: remove time text bellow the seekbar
Pierre Lamot
pierre at videolabs.io
Wed Aug 7 15:52:21 CEST 2019
---
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
--
2.17.1
More information about the vlc-devel
mailing list