diff options
| author | Jaquee <jaquee.monero@gmail.com> | 2017-01-30 10:37:14 +0100 |
|---|---|---|
| committer | Jaquee <jaquee.monero@gmail.com> | 2017-02-27 22:07:16 +0100 |
| commit | ebcab010bbf1eeaed0a0c734460a038bdbe374b8 (patch) | |
| tree | 1f30232e5a4ec0f97a37eec2eecb8e89c08f774d /wizard/WizardPasswordInput.qml | |
| parent | e826f7c1ecdcdc1e588e67b07278f7433cd867eb (diff) | |
| download | monzero-gui-ebcab010bbf1eeaed0a0c734460a038bdbe374b8.tar.gz monzero-gui-ebcab010bbf1eeaed0a0c734460a038bdbe374b8.tar.xz monzero-gui-ebcab010bbf1eeaed0a0c734460a038bdbe374b8.zip | |
Wizard: mobile redesign
Diffstat (limited to 'wizard/WizardPasswordInput.qml')
| -rw-r--r-- | wizard/WizardPasswordInput.qml | 13 |
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" } |
