Browse Source

qml: styling, padding various wizardcomponents

master
Sander van Grieken 3 years ago
parent
commit
b788f79509
  1. 1
      electrum/gui/qml/components/wizard/WCConfirmSeed.qml
  2. 10
      electrum/gui/qml/components/wizard/WCCreateSeed.qml
  3. 7
      electrum/gui/qml/components/wizard/WCHaveSeed.qml
  4. 3
      electrum/gui/qml/components/wizard/WCImport.qml
  5. 2
      electrum/gui/qml/components/wizard/WCMultisig.qml

1
electrum/gui/qml/components/wizard/WCConfirmSeed.qml

@ -34,6 +34,7 @@ WizardComponent {
}
Label {
Layout.topMargin: constants.paddingMedium
text: qsTr('Confirm your seed (re-enter)')
}

10
electrum/gui/qml/components/wizard/WCCreateSeed.qml

@ -48,7 +48,12 @@ WizardComponent {
Layout.fillWidth: true
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 {
id: seedtext
readOnly: true
@ -60,16 +65,19 @@ WizardComponent {
visible: seedtext.text == ''
}
}
CheckBox {
id: extendcb
text: qsTr('Extend seed with custom words')
}
TextField {
id: customwordstext
visible: extendcb.checked
Layout.fillWidth: true
placeholderText: qsTr('Enter your custom word(s)')
}
Component.onCompleted : {
setWarningText(12)
}

7
electrum/gui/qml/components/wizard/WCHaveSeed.qml

@ -141,6 +141,7 @@ WizardComponent {
visible: !is2fa
text: qsTr('Seed Type')
}
ComboBox {
id: seed_variant_cb
visible: !is2fa
@ -157,15 +158,19 @@ WizardComponent {
checkValid()
}
}
InfoTextArea {
id: infotext
Layout.fillWidth: true
Layout.columnSpan: 2
}
Label {
text: cosigner ? qsTr('Enter cosigner seed') : qsTr('Enter your seed')
Layout.topMargin: constants.paddingMedium
Layout.columnSpan: 2
text: cosigner ? qsTr('Enter cosigner seed') : qsTr('Enter your seed')
}
SeedTextArea {
id: seedtext
Layout.fillWidth: true

3
electrum/gui/qml/components/wizard/WCImport.qml

@ -26,14 +26,13 @@ WizardComponent {
ColumnLayout {
width: parent.width
Label { text: qsTr('Import Bitcoin Addresses') }
InfoTextArea {
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.')
}
RowLayout {
Layout.topMargin: constants.paddingMedium
TextArea {
id: import_ta
Layout.fillWidth: true

2
electrum/gui/qml/components/wizard/WCMultisig.qml

@ -39,8 +39,6 @@ WizardComponent {
id: rootLayout
width: parent.width
Label { text: qsTr('Multisig wallet') }
InfoTextArea {
Layout.preferredWidth: parent.width
text: qsTr('Choose the number of participants, and the number of signatures needed to unlock funds in your wallet.')

Loading…
Cancel
Save