From 2f41ad19dd425e8a8143187bfc93c4086cd76201 Mon Sep 17 00:00:00 2001 From: Digital Artifex <7929434+DigitalArtifex@users.noreply.github.com> Date: Sun, 9 Aug 2026 03:25:46 -0400 Subject: [PATCH] Reformatted code a bit --- KomplexHubModule/Controls/SearchBar.qml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/KomplexHubModule/Controls/SearchBar.qml b/KomplexHubModule/Controls/SearchBar.qml index c365a60..5ba4ac2 100644 --- a/KomplexHubModule/Controls/SearchBar.qml +++ b/KomplexHubModule/Controls/SearchBar.qml @@ -9,7 +9,8 @@ import QtQuick.Controls import QtQuick.Layouts import KomplexHub -Item { +Item +{ property string searchTerm: "" property string icon: "" property color color: "transparent" @@ -17,15 +18,18 @@ Item { id: searchBarRootItem clip: true - Rectangle { + Rectangle + { color: searchBarRootItem.color anchors.fill: parent - RowLayout { + RowLayout + { id: searchContainerLayout anchors.fill: parent - LineEdit { + LineEdit + { id: searchEdit Layout.fillHeight: true Layout.fillWidth: true @@ -40,7 +44,8 @@ Item { onAccepted: () => searchBarRootItem.searchTerm = text } - SquareButton { + SquareButton + { id: searchButton Layout.fillHeight: searchEdit.height