[vlc-devel] [PATCH 4/4] qml: move ML progress scan bar only over the ML view
Pierre Lamot
pierre at videolabs.io
Mon Nov 18 18:21:32 CET 2019
this avoid overlapping with the miniplayer or the playlist toobar
---
.../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
- }
}
}
--
2.17.1
More information about the vlc-devel
mailing list