1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

lock/greeter: don't elide password field

fixes #593
This commit is contained in:
bbedward
2025-11-01 10:22:27 -04:00
parent 5f22347d7a
commit 9c45d13cbf
2 changed files with 8 additions and 4 deletions

View File

@@ -551,12 +551,14 @@ Item {
if (parent.showPassword) {
return root.passwordBuffer
}
return "•".repeat(Math.min(root.passwordBuffer.length, 25))
return "•".repeat(root.passwordBuffer.length)
}
color: Theme.surfaceText
font.pixelSize: parent.showPassword ? Theme.fontSizeMedium : Theme.fontSizeLarge
opacity: (demoMode || root.passwordBuffer.length > 0) ? 1 : 0
elide: Text.ElideRight
clip: true
elide: Text.ElideNone
horizontalAlignment: implicitWidth > width ? Text.AlignRight : Text.AlignLeft
Behavior on opacity {
NumberAnimation {