Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Plasma
Plasma Desktop
Commits
5c13d69f
Commit
5c13d69f
authored
Jan 16, 2021
by
Nicolas Fella
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[kcms/users] Fix password field alignment
parent
c24ee834
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
kcms/users/package/contents/ui/ChangePassword.qml
kcms/users/package/contents/ui/ChangePassword.qml
+7
-5
No files found.
kcms/users/package/contents/ui/ChangePassword.qml
View file @
5c13d69f
...
...
@@ -44,13 +44,16 @@ Kirigami.OverlaySheet {
ColumnLayout
{
id
:
mainColumn
spacing
:
Kirigami
.
Units
.
smallSpacing
Layout.preferredWidth
:
Kirigami
.
Units
.
gridUnit
*
15
// We don't use a FormLayout here because layouting breaks at small widths.
ColumnLayout
{
Layout.preferredWidth
:
Kirigami
.
Units
.
gridUnit
*
15
Layout.alignment
:
Qt
.
AlignHCenter
Kirigami.PasswordField
{
id
:
passwordField
Layout.fillWidth
:
true
placeholderText
:
i18n
(
"
Password
"
)
onAccepted
:
{
...
...
@@ -59,10 +62,12 @@ Kirigami.OverlaySheet {
}
}
Layout.alignment
:
Qt
.
AlignLeft
}
Kirigami.PasswordField
{
id
:
verifyField
Layout.fillWidth
:
true
placeholderText
:
i18n
(
"
Confirm password
"
)
onAccepted
:
{
...
...
@@ -70,14 +75,11 @@ Kirigami.OverlaySheet {
passButton
.
apply
()
}
}
Layout.alignment
:
Qt
.
AlignLeft
}
Kirigami.InlineMessage
{
id
:
passwordWarning
Layout.fillWidth
:
true
Layout.maximumWidth
:
verifyField
.
width
type
:
Kirigami
.
MessageType
.
Error
text
:
i18n
(
"
Passwords must match
"
)
visible
:
passwordField
.
text
!=
""
&&
verifyField
.
text
!=
""
&&
passwordField
.
text
!=
verifyField
.
text
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment