[vlc-commits] qml: add margin to the player controlbar

Pierre Lamot git at videolan.org
Thu Aug 29 10:44:56 CEST 2019


vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Thu Aug  1 16:51:14 2019 +0200| [625f884b378e03462c7949682f58ddc73073926e] | committer: Jean-Baptiste Kempf

qml: add margin to the player controlbar

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=625f884b378e03462c7949682f58ddc73073926e
---

 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 9ae066e341..967e87ceb5 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 {



More information about the vlc-commits mailing list