mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
Redesigned NewPasswordDialog
This commit is contained in:
parent
72a7fac467
commit
b38ee48e59
2 changed files with 33 additions and 50 deletions
|
@ -42,8 +42,8 @@ Item {
|
|||
id: bg
|
||||
z: parent.z + 1
|
||||
anchors.fill: parent
|
||||
color: "white"
|
||||
opacity: 0.9
|
||||
color: "black"
|
||||
opacity: 0.8
|
||||
}
|
||||
|
||||
property alias password: passwordInput1.text
|
||||
|
@ -103,8 +103,8 @@ Item {
|
|||
Layout.fillWidth: true
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
font.pixelSize: 18 * scaleRatio
|
||||
font.family: "Arial"
|
||||
color: "#555555"
|
||||
font.family: Style.fontLight
|
||||
color: Style.defaultFontColor
|
||||
}
|
||||
|
||||
TextField {
|
||||
|
@ -121,7 +121,7 @@ Item {
|
|||
|
||||
style: TextFieldStyle {
|
||||
renderType: Text.NativeRendering
|
||||
textColor: "#35B05A"
|
||||
textColor: "black"
|
||||
passwordCharacter: "•"
|
||||
// no background
|
||||
background: Rectangle {
|
||||
|
@ -135,15 +135,6 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
// underline
|
||||
Rectangle {
|
||||
height: 1
|
||||
color: "#DBDBDB"
|
||||
Layout.fillWidth: true
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
anchors.bottomMargin: 3
|
||||
Layout.maximumWidth: passwordInput1.width
|
||||
}
|
||||
// padding
|
||||
Rectangle {
|
||||
Layout.fillWidth: true
|
||||
|
@ -160,8 +151,8 @@ Item {
|
|||
Layout.fillWidth: true
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
font.pixelSize: 18 * scaleRatio
|
||||
font.family: "Arial"
|
||||
color: "#555555"
|
||||
font.family: Style.fontLight
|
||||
color: Style.defaultFontColor
|
||||
}
|
||||
|
||||
TextField {
|
||||
|
@ -178,7 +169,7 @@ Item {
|
|||
|
||||
style: TextFieldStyle {
|
||||
renderType: Text.NativeRendering
|
||||
textColor: "#35B05A"
|
||||
textColor: "black"
|
||||
passwordCharacter: "•"
|
||||
// no background
|
||||
background: Rectangle {
|
||||
|
@ -198,15 +189,6 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
// underline
|
||||
Rectangle {
|
||||
height: 1
|
||||
color: "#DBDBDB"
|
||||
Layout.fillWidth: true
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
anchors.bottomMargin: 3
|
||||
Layout.maximumWidth: passwordInput1.width
|
||||
}
|
||||
// padding
|
||||
Rectangle {
|
||||
Layout.fillWidth: true
|
||||
|
@ -215,7 +197,7 @@ Item {
|
|||
opacity: 0
|
||||
color: "black"
|
||||
}
|
||||
}
|
||||
|
||||
// Ok/Cancel buttons
|
||||
RowLayout {
|
||||
id: buttons
|
||||
|
@ -243,4 +225,5 @@ Item {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -92,7 +92,7 @@ Item {
|
|||
|
||||
TextField {
|
||||
id : passwordInput
|
||||
Layout.topMargin: 8
|
||||
Layout.topMargin: 6
|
||||
Layout.fillWidth: true
|
||||
anchors.left: parent.left
|
||||
horizontalAlignment: TextInput.AlignLeft
|
||||
|
|
Loading…
Reference in a new issue