From e59f00f123a5e9ea3a2be211258425e999a55ee1 Mon Sep 17 00:00:00 2001 From: Prince Gupta <guptaprince8832@gmail.com> Date: Wed, 12 Mar 2025 17:34:38 +0530 Subject: [PATCH] qml: fix items not loading properly in Browse view subview size depends on size of parent view, stackview default sizing policy doesn't handle that well --- modules/gui/qt/network/qml/BrowseDeviceView.qml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/gui/qt/network/qml/BrowseDeviceView.qml b/modules/gui/qt/network/qml/BrowseDeviceView.qml index 2bf41f6a807..f7e9deed0d2 100644 --- a/modules/gui/qt/network/qml/BrowseDeviceView.qml +++ b/modules/gui/qt/network/qml/BrowseDeviceView.qml @@ -178,6 +178,9 @@ FocusScope { Widgets.ExpandGridItemView { id: gridView + width: root.width + height: root.height + basePictureWidth: VLCStyle.gridCover_network_width basePictureHeight: VLCStyle.gridCover_network_height @@ -281,6 +284,9 @@ FocusScope { // Settings + width: root.width + height: root.height + rowContextMenu: null rowHeight: VLCStyle.tableCoverRow_height -- GitLab