Browse Source

qml: small form-factor fixes

patch-4
Sander van Grieken 2 years ago
parent
commit
24524119f6
  1. 5
      electrum/gui/qml/components/WalletDetails.qml
  2. 18
      electrum/gui/qml/components/wizard/WCConfirmSeed.qml
  3. 8
      electrum/gui/qml/components/wizard/WCMultisig.qml

5
electrum/gui/qml/components/WalletDetails.qml

@ -252,12 +252,13 @@ Pane {
columns: 2
Label {
text: qsTr('Derivation prefix')
visible: Daemon.currentWallet.isDeterministic
visible: Daemon.currentWallet.derivationPrefix
color: Material.accentColor
}
Label {
Layout.fillWidth: true
text: Daemon.currentWallet.derivationPrefix
visible: Daemon.currentWallet.isDeterministic
visible: Daemon.currentWallet.derivationPrefix
}
Label {

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

@ -22,10 +22,9 @@ WizardComponent {
clip:true
interactive: height < contentHeight
GridLayout {
ColumnLayout {
id: mainLayout
width: parent.width
columns: 1
InfoTextArea {
Layout.fillWidth: true
@ -33,21 +32,22 @@ WizardComponent {
qsTr('If you lose your seed, your money will be permanently lost.') + ' ' +
qsTr('To make sure that you have properly saved your seed, please retype it here.')
}
Label { text: qsTr('Confirm your seed (re-enter)') }
Label {
text: qsTr('Confirm your seed (re-enter)')
}
SeedTextArea {
id: confirm
Layout.fillWidth: true
onTextChanged: {
checkValid()
}
onTextChanged: checkValid()
}
TextField {
id: customwordstext
Layout.fillWidth: true
placeholderText: qsTr('Enter your custom word(s)')
onTextChanged: {
checkValid()
}
onTextChanged: checkValid()
}
}
}

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

@ -29,7 +29,14 @@ WizardComponent {
wizard_data['multisig_cosigner_data'] = {}
}
Flickable {
anchors.fill: parent
contentHeight: rootLayout.height
clip:true
interactive: height < contentHeight
ColumnLayout {
id: rootLayout
width: parent.width
Label { text: qsTr('Multisig wallet') }
@ -96,6 +103,7 @@ WizardComponent {
}
}
}
}
Component.onCompleted: piechart.updateSlices()

Loading…
Cancel
Save