Skip to content
Snippets Groups Projects
Commit 24c664eb authored by Alexander's avatar Alexander
Browse files

[*] add factor pt to notes recovery form

parent 94c8cd18
No related branches found
No related tags found
2 merge requests!59Features 2608,!51Features 2608
...@@ -14,8 +14,8 @@ DapUiQmlScreen { ...@@ -14,8 +14,8 @@ DapUiQmlScreen {
id: wordTextArea id: wordTextArea
height: 30 * pt height: 30 * pt
color: "#757184" color: "#757184"
anchors.rightMargin: 1 anchors.rightMargin: 1 * pt
anchors.leftMargin: 1 anchors.leftMargin: 1 * pt
anchors.right: parent.right anchors.right: parent.right
anchors.left: parent.left anchors.left: parent.left
anchors.top: parent.top anchors.top: parent.top
...@@ -25,12 +25,12 @@ DapUiQmlScreen { ...@@ -25,12 +25,12 @@ DapUiQmlScreen {
color: "#ffffff" color: "#ffffff"
text: qsTr("24 words") text: qsTr("24 words")
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
anchors.bottomMargin: 8 anchors.bottomMargin: 8 * pt
anchors.top: parent.top anchors.top: parent.top
anchors.topMargin: 8 anchors.topMargin: 8 * pt
anchors.left: parent.left anchors.left: parent.left
anchors.leftMargin: 16 anchors.leftMargin: 16 * pt
font.pointSize: 12 font.pointSize: 12 * pt
horizontalAlignment: Text.AlignLeft horizontalAlignment: Text.AlignLeft
font.family: "Roboto" font.family: "Roboto"
font.styleName: "Normal" font.styleName: "Normal"
...@@ -41,22 +41,22 @@ DapUiQmlScreen { ...@@ -41,22 +41,22 @@ DapUiQmlScreen {
Rectangle { Rectangle {
id: saveNotesDescription id: saveNotesDescription
color: "#edeff2" color: "#edeff2"
height: 42 height: 42 * pt
anchors.top: wordTextArea.bottom anchors.top: wordTextArea.bottom
anchors.topMargin: 24 anchors.topMargin: 24 * pt
anchors.left: wordTextArea.left anchors.left: wordTextArea.left
anchors.right: wordTextArea.right anchors.right: wordTextArea.right
Text { Text {
anchors.fill: parent anchors.fill: parent
text: qsTr("Keep these words in a safe place. They will be\nrequired to restore your wallet in case of loss of\naccess to it") text: qsTr("Keep these words in a safe place. They will be\nrequired to restore your wallet in case of loss of\naccess to it")
anchors.leftMargin: 1 anchors.leftMargin: 1 * pt
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
color: "#FF0300" color: "#FF0300"
font { font {
pointSize: 16 pointSize: 14 * pt
family: "Roboto" family: "Roboto"
styleName: "Normal" styleName: "Normal"
weight: Font.Normal weight: Font.Normal
...@@ -66,9 +66,9 @@ DapUiQmlScreen { ...@@ -66,9 +66,9 @@ DapUiQmlScreen {
Rectangle { Rectangle {
id: recoveryWords id: recoveryWords
height: 270 height: 270 * pt
anchors.top: saveNotesDescription.bottom anchors.top: saveNotesDescription.bottom
anchors.topMargin: 24 anchors.topMargin: 24 * pt
anchors.right: parent.right anchors.right: parent.right
anchors.left: parent.left anchors.left: parent.left
anchors.leftMargin: 1 * pt anchors.leftMargin: 1 * pt
...@@ -116,23 +116,23 @@ DapUiQmlScreen { ...@@ -116,23 +116,23 @@ DapUiQmlScreen {
} }
RowLayout { RowLayout {
height: 270 height: 270 * pt
spacing: 60 spacing: 60 * pt
anchors.right: parent.right anchors.right: parent.right
anchors.rightMargin: 1 anchors.rightMargin: 1 * pt
anchors.left: parent.left anchors.left: parent.left
anchors.leftMargin: 1 anchors.leftMargin: 1 * pt
ListView { ListView {
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
width: 50 width: 50 * pt
height: 300 height: 300 * pt
model: listRecoveryWords model: listRecoveryWords
delegate: Text { delegate: Text {
text: word text: word
color: "#070023" color: "#070023"
font { font {
pointSize: 16 pointSize: 16 * pt
family: "Roboto" family: "Roboto"
styleName: "Normal" styleName: "Normal"
weight: Font.Normal weight: Font.Normal
...@@ -142,14 +142,14 @@ DapUiQmlScreen { ...@@ -142,14 +142,14 @@ DapUiQmlScreen {
ListView { ListView {
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
width: 50 width: 50 * pt
height: 300 height: 300 * pt
model: listRecoveryWords model: listRecoveryWords
delegate: Text { delegate: Text {
text: word text: word
color: "#070023" color: "#070023"
font { font {
pointSize: 16 pointSize: 16 * pt
family: "Roboto" family: "Roboto"
styleName: "Normal" styleName: "Normal"
weight: Font.Normal weight: Font.Normal
...@@ -161,20 +161,20 @@ DapUiQmlScreen { ...@@ -161,20 +161,20 @@ DapUiQmlScreen {
Rectangle { Rectangle {
id: notifyNotesSavedArea id: notifyNotesSavedArea
height: 70 height: 70 * pt
anchors.top: recoveryWords.bottom anchors.top: recoveryWords.bottom
anchors.topMargin: 24 anchors.topMargin: 24 * pt
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
color: "#EDEFF2" color: "#EDEFF2"
anchors.leftMargin: 1 anchors.leftMargin: 1 * pt
Text { Text {
id: notifyText id: notifyText
anchors.centerIn: parent anchors.centerIn: parent
text: qsTr("") text: qsTr("")
color: "#6F9F00" color: "#6F9F00"
font.pointSize: 14 font.pointSize: 14 * pt
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
} }
...@@ -182,20 +182,20 @@ DapUiQmlScreen { ...@@ -182,20 +182,20 @@ DapUiQmlScreen {
RowLayout { RowLayout {
id: actionButtons id: actionButtons
height: 44 height: 44 * pt
anchors.leftMargin: 1 anchors.leftMargin: 1 * pt
spacing: 30 spacing: 30 * pt
anchors.top: notifyNotesSavedArea.bottom anchors.top: notifyNotesSavedArea.bottom
anchors.topMargin: 24 anchors.topMargin: 24 * pt
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
Layout.leftMargin: 26 Layout.leftMargin: 26 * pt
Layout.columnSpan: 2 Layout.columnSpan: 2
Button { Button {
id: nextButton id: nextButton
height: 44 height: 44 * pt
width: 130 width: 130 * pt
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
Text { Text {
...@@ -207,7 +207,7 @@ DapUiQmlScreen { ...@@ -207,7 +207,7 @@ DapUiQmlScreen {
font.family: "Roboto" font.family: "Roboto"
font.styleName: "Normal" font.styleName: "Normal"
font.weight: Font.Normal font.weight: Font.Normal
font.pointSize: 18 font.pointSize: 18 * pt
horizontalAlignment: Text.AlignLeft horizontalAlignment: Text.AlignLeft
} }
...@@ -220,9 +220,9 @@ DapUiQmlScreen { ...@@ -220,9 +220,9 @@ DapUiQmlScreen {
Button { Button {
id: copyNotesButton id: copyNotesButton
height: 44 height: 44 * pt
width: 130 * pt
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
width: 130
checkable: true checkable: true
Text { Text {
...@@ -234,7 +234,7 @@ DapUiQmlScreen { ...@@ -234,7 +234,7 @@ DapUiQmlScreen {
font.family: "Roboto" font.family: "Roboto"
font.styleName: "Normal" font.styleName: "Normal"
font.weight: Font.Normal font.weight: Font.Normal
font.pointSize: 18 font.pointSize: 18 * pt
horizontalAlignment: Text.AlignLeft horizontalAlignment: Text.AlignLeft
} }
...@@ -257,3 +257,4 @@ Designer { ...@@ -257,3 +257,4 @@ Designer {
D{i:0;autoSize:true;height:480;width:640} D{i:0;autoSize:true;height:480;width:640}
} }
##^##*/ ##^##*/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment