mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-08 07:17:26 -04:00
Wizard: mobile redesign
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user