1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-26 06:22:50 -05:00

general little UX consistencies and improvements

This commit is contained in:
bbedward
2025-11-09 15:13:44 -05:00
parent 0197961175
commit b5c49573e5
16 changed files with 188 additions and 194 deletions

View File

@@ -1,4 +1,5 @@
import QtQuick
import Quickshell
import qs.Common
import qs.Widgets
@@ -64,7 +65,9 @@ Flow {
Repeater {
id: repeater
model: root.model
model: ScriptModel {
values: root.model
}
delegate: Rectangle {
id: segment

View File

@@ -2,6 +2,7 @@ import "../Common/fzf.js" as Fzf
import QtQuick
import QtQuick.Controls
import QtQuick.Effects
import Quickshell
import qs.Common
import qs.Widgets
@@ -306,7 +307,9 @@ Item {
width: parent.width
height: parent.height - (root.enableFuzzySearch ? searchContainer.height + Theme.spacingXS : 0)
clip: true
model: dropdownMenu.filteredOptions
model: ScriptModel {
values: dropdownMenu.filteredOptions
}
spacing: 2
interactive: true

View File

@@ -30,9 +30,9 @@ StyledRect {
property color leftIconColor: Theme.surfaceVariantText
property color leftIconFocusedColor: Theme.primary
property bool showClearButton: false
property color backgroundColor: Theme.withAlpha(Theme.surfaceContainer, Theme.popupTransparency)
property color backgroundColor: Theme.withAlpha(Theme.surfaceContainerHigh, Theme.popupTransparency)
property color focusedBorderColor: Theme.primary
property color normalBorderColor: Theme.outlineStrong
property color normalBorderColor: Theme.outlineMedium
property color placeholderColor: Theme.outlineButton
property int borderWidth: 1
property int focusedBorderWidth: 2