[vlc-devel] [PATCH 2/7] qml: fix padding in BannerSource

Pierre Lamot pierre at videolabs.io
Wed Sep 30 18:21:54 CEST 2020


---
 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
 
-- 
2.25.1



More information about the vlc-devel mailing list