[vlc-commits] qml: move ML progress scan bar only over the ML view
Pierre Lamot
git at videolan.org
Tue Nov 19 16:50:23 CET 2019
vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Mon Nov 18 16:55:37 2019 +0100| [55216424e68000f3d71e527ebeb296cb65ad68ca] | committer: Jean-Baptiste Kempf
qml: move ML progress scan bar only over the ML view
this avoid overlapping with the miniplayer or the playlist toobar
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=55216424e68000f3d71e527ebeb296cb65ad68ca
---
modules/gui/qt/qml/mediacenter/MCMainDisplay.qml | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/modules/gui/qt/qml/mediacenter/MCMainDisplay.qml b/modules/gui/qt/qml/mediacenter/MCMainDisplay.qml
index 93b524179f..0f9d33dbdb 100644
--- a/modules/gui/qt/qml/mediacenter/MCMainDisplay.qml
+++ b/modules/gui/qt/qml/mediacenter/MCMainDisplay.qml
@@ -216,6 +216,17 @@ Utils.NavigableFocusScope {
: VLCStyle.applicationHorizontalMargin
leftMargin: VLCStyle.applicationHorizontalMargin
}
+
+ Utils.ScanProgressBar {
+ z: 1
+ anchors {
+ left: parent.left
+ right: parent.right
+ bottom: parent.bottom
+ rightMargin: VLCStyle.margin_small
+ leftMargin: VLCStyle.margin_small
+ }
+ }
}
@@ -262,14 +273,6 @@ Utils.NavigableFocusScope {
}
}
}
-
- Utils.ScanProgressBar {
- anchors.left: parent.left
- anchors.right: parent.right
- anchors.bottom: parent.bottom
- anchors.rightMargin: VLCStyle.applicationHorizontalMargin
- anchors.leftMargin: VLCStyle.applicationHorizontalMargin
- }
}
}
More information about the vlc-commits
mailing list