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

@@ -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...")