Browse Source

small fixes

patch-4
Sander van Grieken 3 years ago
parent
commit
da727278fa
  1. 5
      electrum/gui/qml/components/BalanceSummary.qml
  2. 1
      electrum/gui/qml/components/main.qml
  3. 1
      electrum/gui/qml/components/wizard/WCConfirmSeed.qml
  4. 1
      electrum/gui/qml/components/wizard/WCCreateSeed.qml
  5. 1
      electrum/gui/qml/components/wizard/WCHaveSeed.qml
  6. 2
      electrum/gui/qml/components/wizard/Wizard.qml

5
electrum/gui/qml/components/BalanceSummary.qml

@ -6,6 +6,7 @@ import QtQuick.Controls.Material 2.0
Frame { Frame {
id: root id: root
height: layout.height height: layout.height
font.pixelSize: constants.fontSizeMedium
property string formattedBalance property string formattedBalance
property string formattedUnconfirmed property string formattedUnconfirmed
@ -29,20 +30,16 @@ Frame {
text: formattedBalance text: formattedBalance
} }
Label { Label {
font.pixelSize: constants.fontSizeMedium
text: qsTr('Confirmed: ') text: qsTr('Confirmed: ')
} }
Label { Label {
font.pixelSize: constants.fontSizeMedium
color: Material.accentColor color: Material.accentColor
text: formattedBalance text: formattedBalance
} }
Label { Label {
font.pixelSize: constants.fontSizeMedium
text: qsTr('Unconfirmed: ') text: qsTr('Unconfirmed: ')
} }
Label { Label {
font.pixelSize: constants.fontSizeMedium
color: Material.accentColor color: Material.accentColor
text: formattedUnconfirmed text: formattedUnconfirmed
} }

1
electrum/gui/qml/components/main.qml

@ -107,6 +107,7 @@ ApplicationWindow
id: menuButton id: menuButton
enabled: stack.currentItem.menu !== undefined && stack.currentItem.menu.count > 0 enabled: stack.currentItem.menu !== undefined && stack.currentItem.menu.count > 0
text: enabled ? qsTr("≡") : '' text: enabled ? qsTr("≡") : ''
font.pixelSize: constants.fontSizeXLarge
onClicked: { onClicked: {
stack.currentItem.menu.open() stack.currentItem.menu.open()
// position the menu to the right // position the menu to the right

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

@ -44,7 +44,6 @@ WizardComponent {
id: customwordstext id: customwordstext
Layout.fillWidth: true Layout.fillWidth: true
placeholderText: qsTr('Enter your custom word(s)') placeholderText: qsTr('Enter your custom word(s)')
echoMode: TextInput.Password
onTextChanged: { onTextChanged: {
checkValid() checkValid()
} }

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

@ -69,7 +69,6 @@ WizardComponent {
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)')
echoMode: TextInput.Password
} }
Component.onCompleted : { Component.onCompleted : {
setWarningText(12) setWarningText(12)

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

@ -126,7 +126,6 @@ WizardComponent {
Layout.fillWidth: true Layout.fillWidth: true
Layout.columnSpan: 2 Layout.columnSpan: 2
placeholderText: qsTr('Enter your custom word(s)') placeholderText: qsTr('Enter your custom word(s)')
echoMode: TextInput.Password
} }
} }
} }

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

@ -166,7 +166,7 @@ Dialog {
// so the keyboard goes away // so the keyboard goes away
// TODO: here it works on desktop, but not android. hmm. // TODO: here it works on desktop, but not android. hmm.
MouseArea { MouseArea {
anchors.fill: wizard anchors.fill: parent
z: -1000 z: -1000
onClicked: { parkFocus.focus = true } onClicked: { parkFocus.focus = true }
FocusScope { id: parkFocus } FocusScope { id: parkFocus }

Loading…
Cancel
Save