From 78e0ae1a4e9c959e69a5a9f5ca1887c975e356a4 Mon Sep 17 00:00:00 2001 From: cryptochangements34 Date: Fri, 11 May 2018 18:40:10 -0400 Subject: [PATCH] use radio buttons in daemon wizard --- wizard/WizardDaemonSettings.qml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/wizard/WizardDaemonSettings.qml b/wizard/WizardDaemonSettings.qml index 4ba6e3d8..4303b1a0 100644 --- a/wizard/WizardDaemonSettings.qml +++ b/wizard/WizardDaemonSettings.qml @@ -121,11 +121,11 @@ ColumnLayout { ColumnLayout { RowLayout { - CheckBox { + RadioButton { id: localNode - text: qsTr("Start a node automatically in background or use an already running local node (recommended)") + translationManager.emptyString - checkedIcon: "../images/checkedBlackIcon.png" - background: "#FFFFFF" + text: qsTr("Start a node automatically in background (recommended)") + translationManager.emptyString + checkedColor: Qt.rgba(0, 0, 0, 0.75) + borderColor: Qt.rgba(0, 0, 0, 0.45) fontColor: "#4A4646" fontSize: 16 * scaleRatio checked: !appWindow.persistentSettings.useRemoteNode && !isAndroid && !isIOS @@ -205,12 +205,12 @@ ColumnLayout { } RowLayout { - CheckBox { + RadioButton { id: remoteNode text: qsTr("Connect to a remote node") + translationManager.emptyString - checkedIcon: "../images/checkedBlackIcon.png" + checkedColor: Qt.rgba(0, 0, 0, 0.75) + borderColor: Qt.rgba(0, 0, 0, 0.45) Layout.topMargin: 20 * scaleRatio - background: "#FFFFFF" fontColor: "#4A4646" fontSize: 16 * scaleRatio checked: appWindow.persistentSettings.useRemoteNode