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 { Label {
Layout.topMargin: constants.paddingMedium
text: qsTr('Confirm your seed (re-enter)') text: qsTr('Confirm your seed (re-enter)')
} }

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

@ -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)
} }

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

@ -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

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

@ -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

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

@ -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.')

Loading…
Cancel
Save