search field: spacing adjustments

port 2.0

(cherry picked from commit f56a088e44)
This commit is contained in:
bbedward authored and dux-ci[bot] committed 2026-10-27 13:39:36 +00:00
1 parent a2a18ed7db
commit a10ee7d3ed
13 files changed
+7 -13

No files matched your search

Generated
+3 -3
View File
@@ -3,11 +3,11 @@
"dank-qml-common": {
"flake": false,
"locked": {
"lastModified": 1793073767,
"narHash": "sha256-mT0Kp4m/FP2u+I6GAZJtBH7LGHh6tSibDuRv4M4YBbc=",
"lastModified": 1793108324,
"narHash": "sha256-5EPljTgi7YWoBxmSbsDoSetzGPW28jcyPL5i5Yo1PAw=",
"owner": "duxlabs-dev",
"repo": "dux-qml-common",
"rev": "08efce90fd4b2aa90c4064b57e48b14720bbe255",
"rev": "c6e4a6bce24b804688225b0889410d2ec0ae06d7",
"type": "github"
},
"original": {
-1
View File
@@ -346,7 +346,6 @@ DModal {
width: parent.width - Theme.spacingS * 2
anchors.horizontalCenter: parent.horizontalCenter
height: 52
font.pixelSize: Theme.fontSizeLarge
enabled: root.shouldBeVisible
ignoreLeftRightKeys: root.viewMode !== "list"
@@ -13,7 +13,7 @@ Singleton {
readonly property real tileLabelHeight: Theme.spacingXL
readonly property real tileLabelBlockHeight: tileLabelMetrics.lineSpacing * 2
readonly property real tileImageRatio: Theme.launcherImageRatio
readonly property real pillHeight: Theme.listItemHeight
readonly property real pillHeight: Theme.fieldHeightLarge
readonly property real sectionHeight: Theme.buttonHeightXS
readonly property real resultsGap: Theme.spacingXS
readonly property real sectionBand: sectionHeight + resultsGap
-1
View File
@@ -308,7 +308,6 @@ DModal {
id: searchField
width: parent.width
height: 48
font.pixelSize: Theme.fontSizeMedium
placeholderText: I18n.tr("Search sessions...")
keyForwardTargets: [muxPanel]
-1
View File
@@ -257,7 +257,6 @@ DFloatingWindow {
DSearchField {
id: searchField
Layout.fillWidth: true
Layout.preferredHeight: Theme.buttonHeightS
placeholderText: I18n.tr("Search processes...", "process search placeholder")
text: processListModal.searchText
onTextChanged: processListModal.searchText = text
@@ -258,7 +258,6 @@ DBottomSheet {
DSearchField {
id: searchField
width: parent.width
height: Theme.fieldHeightLarge
placeholderText: I18n.tr("Search widgets...")
onAccepted: {
if (root.matches.length > 0)
@@ -65,7 +65,6 @@ Rectangle {
anchors.topMargin: Theme.spacingM
anchors.left: parent.left
anchors.right: parent.right
height: Theme.fieldHeightLarge
textColor: Theme.surfaceText
font.pixelSize: Theme.fontSizeMedium
placeholderText: I18n.tr("Search widgets...")
@@ -394,7 +394,6 @@ Column {
id: searchField
Layout.fillWidth: true
Layout.alignment: Qt.AlignVCenter
Layout.preferredHeight: Theme.buttonHeightXS
leftIconSize: Theme.iconSizeSmall
font.pixelSize: Theme.fontSizeMedium
placeholderText: I18n.tr("Find in note...")
@@ -246,6 +246,7 @@ Item {
rightMargin: root.swipeBleed
spacing: Theme.groupedListGap
rowFadeEnabled: NotificationMetrics.animationsEnabled
fadeInitialRows: false
model: ScriptModel {
id: historyModel
@@ -176,6 +176,7 @@ DListView {
}
spacing: Theme.groupedListGap
rowFadeEnabled: NotificationMetrics.animationsEnabled
fadeInitialRows: false
onIsUserScrollingChanged: {
if (isUserScrolling && keyboardController && keyboardController.keyboardNavigationActive) {
@@ -209,7 +209,6 @@ DFloatingWindow {
anchors.right: parent.right
anchors.top: aboveSearchSlot.bottom
anchors.topMargin: aboveSearchSlot.height > 0 ? Theme.spacingM : 0
height: Theme.fieldHeightLarge
textColor: Theme.surfaceText
font.pixelSize: Theme.fontSizeMedium
placeholderText: root.searchPlaceholder
@@ -80,7 +80,6 @@ DFloatingWindow {
DSearchField {
id: searchField
width: parent.width
height: Theme.fieldHeightLarge
textColor: Theme.surfaceText
font.pixelSize: Theme.fontSizeMedium
placeholderText: I18n.tr("Search applications...")