[vlc-commits] qml: add spacing in between items of NetworkHomeListView

Prince Gupta git at videolan.org
Thu Aug 27 12:44:11 CEST 2020


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Tue Aug 18 20:39:44 2020 +0530| [bbefec5b037cd7b0d6deb4fabea9d414638e311d] | committer: Pierre Lamot

qml: add spacing in between items of NetworkHomeListView

Signed-off-by: Pierre Lamot <pierre at videolabs.io>

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

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

diff --git a/modules/gui/qt/network/qml/NetworkHomeDeviceListView.qml b/modules/gui/qt/network/qml/NetworkHomeDeviceListView.qml
index 10c576f7eb..39b4ce6723 100644
--- a/modules/gui/qt/network/qml/NetworkHomeDeviceListView.qml
+++ b/modules/gui/qt/network/qml/NetworkHomeDeviceListView.qml
@@ -71,9 +71,10 @@ Widgets.NavigableFocusScope {
 
         currentIndex: root._currentIndex
 
-        implicitHeight: VLCStyle.gridItem_network_height
+        implicitHeight: VLCStyle.gridItem_network_height + VLCStyle.margin_xlarge
         orientation: ListView.Horizontal
         anchors.fill: parent
+        spacing: VLCStyle.column_margin_width
 
         header: Item {
             width: root.leftPadding
@@ -82,6 +83,8 @@ Widgets.NavigableFocusScope {
         model: deviceModel
         delegate: NetworkGridItem {
             focus: true
+            x: selectedBorderWidth
+            y: selectedBorderWidth
 
             onItemClicked : {
                 deviceSelection.updateSelection( modifier ,  deviceSelection.currentIndex, index)



More information about the vlc-commits mailing list