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 { 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
} }

View File

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

View File

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

View File

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

View File

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

View File

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