qml: styling, padding various wizardcomponents
This commit is contained in:
@@ -34,6 +34,7 @@ WizardComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
|
Layout.topMargin: constants.paddingMedium
|
||||||
text: qsTr('Confirm your seed (re-enter)')
|
text: qsTr('Confirm your seed (re-enter)')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -48,7 +48,12 @@ WizardComponent {
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
iconStyle: InfoTextArea.IconStyle.Warn
|
iconStyle: InfoTextArea.IconStyle.Warn
|
||||||
}
|
}
|
||||||
Label { text: qsTr('Your wallet generation seed is:') }
|
|
||||||
|
Label {
|
||||||
|
Layout.topMargin: constants.paddingMedium
|
||||||
|
text: qsTr('Your wallet generation seed is:')
|
||||||
|
}
|
||||||
|
|
||||||
SeedTextArea {
|
SeedTextArea {
|
||||||
id: seedtext
|
id: seedtext
|
||||||
readOnly: true
|
readOnly: true
|
||||||
@@ -60,16 +65,19 @@ WizardComponent {
|
|||||||
visible: seedtext.text == ''
|
visible: seedtext.text == ''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
CheckBox {
|
CheckBox {
|
||||||
id: extendcb
|
id: extendcb
|
||||||
text: qsTr('Extend seed with custom words')
|
text: qsTr('Extend seed with custom words')
|
||||||
}
|
}
|
||||||
|
|
||||||
TextField {
|
TextField {
|
||||||
id: customwordstext
|
id: customwordstext
|
||||||
visible: extendcb.checked
|
visible: extendcb.checked
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
placeholderText: qsTr('Enter your custom word(s)')
|
placeholderText: qsTr('Enter your custom word(s)')
|
||||||
}
|
}
|
||||||
|
|
||||||
Component.onCompleted : {
|
Component.onCompleted : {
|
||||||
setWarningText(12)
|
setWarningText(12)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -141,6 +141,7 @@ WizardComponent {
|
|||||||
visible: !is2fa
|
visible: !is2fa
|
||||||
text: qsTr('Seed Type')
|
text: qsTr('Seed Type')
|
||||||
}
|
}
|
||||||
|
|
||||||
ComboBox {
|
ComboBox {
|
||||||
id: seed_variant_cb
|
id: seed_variant_cb
|
||||||
visible: !is2fa
|
visible: !is2fa
|
||||||
@@ -157,15 +158,19 @@ WizardComponent {
|
|||||||
checkValid()
|
checkValid()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
InfoTextArea {
|
InfoTextArea {
|
||||||
id: infotext
|
id: infotext
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.columnSpan: 2
|
Layout.columnSpan: 2
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
text: cosigner ? qsTr('Enter cosigner seed') : qsTr('Enter your seed')
|
Layout.topMargin: constants.paddingMedium
|
||||||
Layout.columnSpan: 2
|
Layout.columnSpan: 2
|
||||||
|
text: cosigner ? qsTr('Enter cosigner seed') : qsTr('Enter your seed')
|
||||||
}
|
}
|
||||||
|
|
||||||
SeedTextArea {
|
SeedTextArea {
|
||||||
id: seedtext
|
id: seedtext
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|||||||
@@ -26,14 +26,13 @@ WizardComponent {
|
|||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
|
||||||
Label { text: qsTr('Import Bitcoin Addresses') }
|
|
||||||
|
|
||||||
InfoTextArea {
|
InfoTextArea {
|
||||||
Layout.preferredWidth: parent.width
|
Layout.preferredWidth: parent.width
|
||||||
text: qsTr('Enter a list of Bitcoin addresses (this will create a watching-only wallet), or a list of private keys.')
|
text: qsTr('Enter a list of Bitcoin addresses (this will create a watching-only wallet), or a list of private keys.')
|
||||||
}
|
}
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
|
Layout.topMargin: constants.paddingMedium
|
||||||
TextArea {
|
TextArea {
|
||||||
id: import_ta
|
id: import_ta
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|||||||
@@ -39,8 +39,6 @@ WizardComponent {
|
|||||||
id: rootLayout
|
id: rootLayout
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
|
||||||
Label { text: qsTr('Multisig wallet') }
|
|
||||||
|
|
||||||
InfoTextArea {
|
InfoTextArea {
|
||||||
Layout.preferredWidth: parent.width
|
Layout.preferredWidth: parent.width
|
||||||
text: qsTr('Choose the number of participants, and the number of signatures needed to unlock funds in your wallet.')
|
text: qsTr('Choose the number of participants, and the number of signatures needed to unlock funds in your wallet.')
|
||||||
|
|||||||
Reference in New Issue
Block a user