mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-28 14:07:47 -04:00
search field: spacing adjustments
port 2.0
This commit is contained in:
1 parent
826477e776
commit
f56a088e44
13 files changed
+7
-13
No files matched your search
+1
-1
Submodule dux-qml-common updated: 08efce90fd...c6e4a6bce2.
Generated
+3
-3
@@ -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": {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -308,7 +308,6 @@ DModal {
|
||||
id: searchField
|
||||
|
||||
width: parent.width
|
||||
height: 48
|
||||
font.pixelSize: Theme.fontSizeMedium
|
||||
placeholderText: I18n.tr("Search sessions...")
|
||||
keyForwardTargets: [muxPanel]
|
||||
|
||||
@@ -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...")
|
||||
|
||||
Reference in new issue
Block a user