[vlc-commits] qml: fix padding in BannerSource

Pierre Lamot git at videolan.org
Thu Oct 8 09:42:00 CEST 2020


vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Fri Sep 25 18:32:05 2020 +0200| [6f4e693f061e5594fc55bb24ee751fcb226c1950] | committer: Pierre Lamot

qml: fix padding in BannerSource

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

 modules/gui/qt/maininterface/qml/BannerSources.qml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/gui/qt/maininterface/qml/BannerSources.qml b/modules/gui/qt/maininterface/qml/BannerSources.qml
index a3289a34bf..e448ed5aee 100644
--- a/modules/gui/qt/maininterface/qml/BannerSources.qml
+++ b/modules/gui/qt/maininterface/qml/BannerSources.qml
@@ -97,8 +97,6 @@ Widgets.NavigableFocusScope {
             id: col
             anchors {
                 fill: parent
-                leftMargin: VLCStyle.applicationHorizontalMargin
-                rightMargin: VLCStyle.applicationHorizontalMargin
                 topMargin: VLCStyle.applicationVerticalMargin
             }
 
@@ -110,7 +108,7 @@ Widgets.NavigableFocusScope {
                 RowLayout {
                     anchors.verticalCenter: parent.verticalCenter
                     anchors.left: parent.left
-                    anchors.leftMargin: VLCStyle.margin_normal
+                    anchors.leftMargin: VLCStyle.applicationHorizontalMargin
                     spacing: VLCStyle.margin_xxxsmall
 
                     Image {
@@ -164,6 +162,7 @@ Widgets.NavigableFocusScope {
                         top: parent.top
                         left: parent.left
                         bottom: parent.bottom
+                        leftMargin: VLCStyle.applicationHorizontalMargin
                     }
 
                     model: ObjectModel {
@@ -274,6 +273,7 @@ Widgets.NavigableFocusScope {
                         top: parent.top
                         right: parent.right
                         bottom: parent.bottom
+                        rightMargin: VLCStyle.applicationHorizontalMargin
                     }
                     spacing: VLCStyle.margin_xxxsmall
 



More information about the vlc-commits mailing list