[vlc-commits] [Git][videolan/vlc][master] 2 commits: qml: allow to hide remaining time from controlbar
Steve Lhomme (@robUx4)
gitlab at videolan.org
Mon Oct 9 17:38:03 UTC 2023
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
54ecc306 by Prince Gupta at 2023-10-09T17:17:51+00:00
qml: allow to hide remaining time from controlbar
- - - - -
81011900 by Prince Gupta at 2023-10-09T17:17:51+00:00
qml: fix overlapping text with playlist
- - - - -
2 changed files:
- modules/gui/qt/player/qml/ControlBar.qml
- modules/gui/qt/player/qml/Player.qml
Changes:
=====================================
modules/gui/qt/player/qml/ControlBar.qml
=====================================
@@ -56,6 +56,7 @@ T.Pane {
property alias identifier: playerControlLayout.identifier
property alias sliderHeight: trackPositionSlider.barHeight
property real bookmarksHeight: VLCStyle.controlBarBookmarksHeight
+ property alias showRemainingTime: mediaRemainingTime.visible
property var menu: undefined
=====================================
modules/gui/qt/player/qml/Player.qml
=====================================
@@ -757,6 +757,10 @@ FocusScope {
? ControlBar.TimeTextPosition.LeftRightSlider
: ControlBar.TimeTextPosition.AboveSlider
+ // hide right text so that it won't overlap with playlist
+ showRemainingTime: (textPosition !== ControlBar.TimeTextPosition.AboveSlider)
+ || !playlistVisibility.isPlaylistVisible
+
Navigation.parentItem: rootPlayer
Navigation.upItem: {
if (playlistVisibility.isPlaylistVisible)
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/2c29efb24f75527eadf39447899a041c7fbeeb85...81011900e5abca7c026994235f1d80a44f851cbf
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/2c29efb24f75527eadf39447899a041c7fbeeb85...81011900e5abca7c026994235f1d80a44f851cbf
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list