1
0

small fixes

This commit is contained in:
Sander van Grieken
2022-03-30 17:38:58 +02:00
parent 490862d096
commit da727278fa
6 changed files with 3 additions and 8 deletions

View File

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

View File

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

View File

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

View File

@@ -69,7 +69,6 @@ WizardComponent {
visible: extendcb.checked
Layout.fillWidth: true
placeholderText: qsTr('Enter your custom word(s)')
echoMode: TextInput.Password
}
Component.onCompleted : {
setWarningText(12)

View File

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

View File

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