aboutsummaryrefslogtreecommitdiff
path: root/wizard/WizardPasswordInput.qml
diff options
context:
space:
mode:
Diffstat (limited to 'wizard/WizardPasswordInput.qml')
-rw-r--r--wizard/WizardPasswordInput.qml13
1 files changed, 5 insertions, 8 deletions
diff --git a/wizard/WizardPasswordInput.qml b/wizard/WizardPasswordInput.qml
index 62f27a3f..3013c226 100644
--- a/wizard/WizardPasswordInput.qml
+++ b/wizard/WizardPasswordInput.qml
@@ -29,21 +29,20 @@
import QtQuick 2.0
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
+import QtQuick.Layouts 1.1
-FocusScope {
+ColumnLayout {
property alias password: password.text
property alias placeholderText: password.placeholderText
signal changed(string password)
TextField {
+ Layout.fillWidth: true
id : password
focus:true
- anchors.fill: parent
- horizontalAlignment: TextInput.AlignLeft
- verticalAlignment: TextInput.AlignVCenter
font.family: "Arial"
- font.pixelSize: 32
+ font.pixelSize: (isMobile) ? 25 : 32
echoMode: TextInput.Password
style: TextFieldStyle {
renderType: Text.NativeRendering
@@ -62,9 +61,7 @@ FocusScope {
}
Rectangle {
- anchors.left: parent.left
- anchors.right: parent.right
- anchors.bottom: parent.bottom
+ Layout.fillWidth:true
height: 1
color: "#DBDBDB"
}