1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

styledrect in widgets

This commit is contained in:
bbedward
2025-07-24 21:07:46 -04:00
parent 14a9828296
commit 1197b9385c
2 changed files with 4 additions and 8 deletions

View File

@@ -129,7 +129,6 @@ Item {
}
// Search input field
Item {
id: searchInputField
@@ -174,7 +173,6 @@ Item {
}
}
// Status icon overlay
DankIcon {
name: {
if (root.isLoading)
@@ -218,8 +216,7 @@ Item {
}
// Search results dropdown
Rectangle {
StyledRect {
id: searchDropdown
property bool hovered: false
@@ -261,7 +258,7 @@ Item {
model: searchResultsModel
spacing: 2
delegate: Rectangle {
delegate: StyledRect {
width: searchResultsList.width
height: 36
radius: Theme.cornerRadius
@@ -312,7 +309,6 @@ Item {
}
// Show message when no results
Text {
anchors.centerIn: parent
text: root.isLoading ? "Searching..." : "No locations found"

View File

@@ -3,7 +3,7 @@ import QtQuick.Controls
import qs.Common
import qs.Widgets
Rectangle {
StyledRect {
id: root
property alias text: textInput.text
@@ -154,7 +154,7 @@ Rectangle {
}
// Clear button
Rectangle {
StyledRect {
id: clearButton
width: 24