Fix ugly bullet points under Android on PasswordEchoOnEdit
This commit is contained in:
parent
be2da373b8
commit
daa9251b77
|
@ -60,8 +60,15 @@ Kirigami.ScrollablePage {
|
||||||
&& !showCharactersCheckBox.checked
|
&& !showCharactersCheckBox.checked
|
||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
// ensure height is always the same, regardless of echo mode (under Android the
|
||||||
|
// bullet points for PasswordEchoOnEdit have a different size causing a different
|
||||||
|
// height)
|
||||||
|
Layout.preferredHeight: fieldNameEdit.height
|
||||||
text: fieldDialog.fieldValue
|
text: fieldDialog.fieldValue
|
||||||
echoMode: hideCharacters ? TextInput.PasswordEchoOnEdit : TextInput.Normal
|
echoMode: hideCharacters ? TextInput.PasswordEchoOnEdit : TextInput.Normal
|
||||||
|
// fix ugly bullet points under Android
|
||||||
|
font.pointSize: hideCharacters ? fieldNameEdit.font.pointSize
|
||||||
|
* 0.5 : fieldNameEdit.font.pointSize
|
||||||
Keys.onPressed: fieldDialog.acceptOnReturn(event)
|
Keys.onPressed: fieldDialog.acceptOnReturn(event)
|
||||||
}
|
}
|
||||||
Controls.RoundButton {
|
Controls.RoundButton {
|
||||||
|
|
Loading…
Reference in New Issue