From f4f88f42942e7cc3d4bc67ba4fa8a24bbb996e83 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Mon, 31 Jul 2023 11:43:15 +0200 Subject: [PATCH] qml: fix wizard text for keystore, wrap text --- .../gui/qml/components/wizard/WCKeystoreType.qml | 12 +++++++++--- electrum/gui/qml/components/wizard/WCWalletType.qml | 12 +++++++++--- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/electrum/gui/qml/components/wizard/WCKeystoreType.qml b/electrum/gui/qml/components/wizard/WCKeystoreType.qml index 30cb41a9d..a9368167b 100644 --- a/electrum/gui/qml/components/wizard/WCKeystoreType.qml +++ b/electrum/gui/qml/components/wizard/WCKeystoreType.qml @@ -1,3 +1,4 @@ +import QtQuick 2.6 import QtQuick.Layouts 1.0 import QtQuick.Controls 2.1 @@ -12,9 +13,14 @@ WizardComponent { id: keystoregroup } - GridLayout { - columns: 1 - Label { text: qsTr('What kind of wallet do you want to create?') } + ColumnLayout { + width: parent.width + + 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 { ButtonGroup.group: keystoregroup property string keystoretype: 'createseed' diff --git a/electrum/gui/qml/components/wizard/WCWalletType.qml b/electrum/gui/qml/components/wizard/WCWalletType.qml index 8f7c3b3ac..ef625619e 100644 --- a/electrum/gui/qml/components/wizard/WCWalletType.qml +++ b/electrum/gui/qml/components/wizard/WCWalletType.qml @@ -1,3 +1,4 @@ +import QtQuick 2.6 import QtQuick.Layouts 1.0 import QtQuick.Controls 2.1 @@ -17,9 +18,14 @@ WizardComponent { id: wallettypegroup } - GridLayout { - columns: 1 - Label { text: qsTr('What kind of wallet do you want to create?') } + ColumnLayout { + width: parent.width + + Label { + Layout.fillWidth: true + text: qsTr('What kind of wallet do you want to create?') + wrapMode: Text.Wrap + } RadioButton { ButtonGroup.group: wallettypegroup property string wallettype: 'standard'