1
0

qml: fix wizard text for keystore, wrap text

This commit is contained in:
Sander van Grieken
2023-07-31 11:43:15 +02:00
parent 583afefe33
commit f4f88f4294
2 changed files with 18 additions and 6 deletions

View File

@@ -1,3 +1,4 @@
import QtQuick 2.6
import QtQuick.Layouts 1.0 import QtQuick.Layouts 1.0
import QtQuick.Controls 2.1 import QtQuick.Controls 2.1
@@ -12,9 +13,14 @@ WizardComponent {
id: keystoregroup id: keystoregroup
} }
GridLayout { ColumnLayout {
columns: 1 width: parent.width
Label { text: qsTr('What kind of wallet do you want to create?') }
Label {
Layout.fillWidth: true
wrapMode: Text.Wrap
text: qsTr('Do you want to create a new seed, restore using an existing seed, or restore from master key?')
}
RadioButton { RadioButton {
ButtonGroup.group: keystoregroup ButtonGroup.group: keystoregroup
property string keystoretype: 'createseed' property string keystoretype: 'createseed'

View File

@@ -1,3 +1,4 @@
import QtQuick 2.6
import QtQuick.Layouts 1.0 import QtQuick.Layouts 1.0
import QtQuick.Controls 2.1 import QtQuick.Controls 2.1
@@ -17,9 +18,14 @@ WizardComponent {
id: wallettypegroup id: wallettypegroup
} }
GridLayout { ColumnLayout {
columns: 1 width: parent.width
Label { text: qsTr('What kind of wallet do you want to create?') }
Label {
Layout.fillWidth: true
text: qsTr('What kind of wallet do you want to create?')
wrapMode: Text.Wrap
}
RadioButton { RadioButton {
ButtonGroup.group: wallettypegroup ButtonGroup.group: wallettypegroup
property string wallettype: 'standard' property string wallettype: 'standard'