[vlc-devel] [PATCH 05/12] qml: add spacing in between items of NetworkHomeListView

Prince Gupta guptaprince8832 at gmail.com
Mon Aug 24 17:08:22 CEST 2020


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



More information about the vlc-devel mailing list