[vlc-devel] [PATCH 17/21] qml: add margin to the player controlbar

Pierre Lamot pierre at videolabs.io
Wed Aug 7 15:52:23 CEST 2019


---
 modules/gui/qt/qml/player/ControlBar.qml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/modules/gui/qt/qml/player/ControlBar.qml b/modules/gui/qt/qml/player/ControlBar.qml
index 38defce274..dcad318d4c 100644
--- a/modules/gui/qt/qml/player/ControlBar.qml
+++ b/modules/gui/qt/qml/player/ControlBar.qml
@@ -44,7 +44,8 @@ Utils.NavigableFocusScope {
     ColumnLayout {
         anchors.fill: parent
         spacing: VLCStyle.margin_xsmall
-
+        anchors.leftMargin: VLCStyle.margin_xlarge
+        anchors.rightMargin: VLCStyle.margin_xlarge
 
         RowLayout {
             Text {
@@ -109,6 +110,8 @@ Utils.NavigableFocusScope {
                 id: buttonstoolbar
                 focusPolicy: Qt.StrongFocus
                 focus: true
+                rightPadding: 0
+                leftPadding: 0
                 anchors.fill: parent
 
                 background: Rectangle {
-- 
2.17.1



More information about the vlc-devel mailing list