feat(density): text and search fields follow interface density

This commit is contained in:
purian23 committed 2026-10-27 21:23:08 -04:00
1 parent a88be89444
commit 170e8f5074
3 files changed
+7 -7

No files matched your search

Generated
+3 -3
View File
@@ -3,11 +3,11 @@
"dank-qml-common": {
"flake": false,
"locked": {
"lastModified": 1793145558,
"narHash": "sha256-mQlMpun+VX+wKYDnPupIoo/NliNnkLKegeKUN2VFo60=",
"lastModified": 1793150560,
"narHash": "sha256-Vx8riKxgP2X/KZ/nzDn3WxC/wrYqAwa4yh9J6FurUEw=",
"owner": "duxlabs-dev",
"repo": "dux-qml-common",
"rev": "d328f9d3d5347e662adb4e76fb3b2eb9d0462779",
"rev": "3d56a375f29b691074cb61411356966da8ad060e",
"type": "github"
},
"original": {
+3 -3
View File
@@ -1204,7 +1204,7 @@ Singleton {
return 0;
}
}
// Added by surface metrics; shared tokens stay fixed so bar, dock and lock never move.
// Added by surface metrics and text fields; other shared tokens stay fixed so bar, dock and lock never move.
readonly property real densityStepS: densityLevel * spacingXS
readonly property real densityStepM: densityLevel * spacingS
readonly property real densityStepXS: densityLevel * spacingXXS
@@ -1370,8 +1370,8 @@ Singleton {
readonly property real launcherScreenMargin: 100
readonly property real fieldDefaultWidth: 200
readonly property real fieldHeight: Math.round(fontSizeMedium * 3)
readonly property real fieldHeightLarge: 48
readonly property real fieldHeight: Math.round(fontSizeMedium * 3) + densityStepS
readonly property real fieldHeightLarge: 48 + densityStepS
readonly property real outlinedFieldLabelLineHeight: 16
readonly property real textFieldSpatialStiffness: 800
readonly property real textFieldSpatialDampingRatio: 1