From 2cfc580f98a15ee0d7c2dc70dcb65c7e89a4fc34 Mon Sep 17 00:00:00 2001 From: Samuel Ghinet Date: Wed, 22 Feb 2023 19:15:43 +0200 Subject: [PATCH] QmlDesigner: Fix textures becoming misaligned in a search When doing a search, some textures appeared misaligned. This was caused by the fact that the "invisible" (i.e. hidden) textures had their Image set correctly as invisible but the delegate itself remained visible. Task-number: QDS-9234 Change-Id: Ia2cd6f4f6795bb435567b8915e770b78461babed Reviewed-by: Thomas Hartmann --- .../contentLibraryQmlSource/ContentLibraryTexture.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/qtcreator/qmldesigner/contentLibraryQmlSource/ContentLibraryTexture.qml b/share/qtcreator/qmldesigner/contentLibraryQmlSource/ContentLibraryTexture.qml index 1d2d9852a18..148ecd90ac6 100644 --- a/share/qtcreator/qmldesigner/contentLibraryQmlSource/ContentLibraryTexture.qml +++ b/share/qtcreator/qmldesigner/contentLibraryQmlSource/ContentLibraryTexture.qml @@ -23,6 +23,8 @@ Item { property alias progressValue: progressBar.value property alias progressText: progressLabel.text + visible: root.delegateVisible + signal showContextMenu() function statusText()