From 7ecb721671635f843dee404bcee4dd7d40bf0c37 Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Thu, 8 Feb 2024 11:57:09 +0100 Subject: [PATCH] fix more issues from qml in share dialog Signed-off-by: Matthieu Gallien --- src/gui/filedetails/ShareeSearchField.qml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/gui/filedetails/ShareeSearchField.qml b/src/gui/filedetails/ShareeSearchField.qml index 300b9c36004b5..4246d54e9ed8d 100644 --- a/src/gui/filedetails/ShareeSearchField.qml +++ b/src/gui/filedetails/ShareeSearchField.qml @@ -185,8 +185,7 @@ TextField { interactive: true highlight: Rectangle { - width: shareeListView.currentItem.width - height: shareeListView.currentItem.height + anchors.fill: shareeListView.currentItem color: palette.highlight } highlightFollowsCurrentItem: true @@ -200,8 +199,7 @@ TextField { model: root.shareeModel delegate: ShareeDelegate { - anchors.left: parent.left - anchors.right: parent.right + width: shareeListView.contentItem.width enabled: model.type !== Sharee.LookupServerSearchResults hoverEnabled: model.type !== Sharee.LookupServerSearchResults