aboutsummaryrefslogtreecommitdiff
path: root/wizard/WizardDaemonSettings.qml
diff options
context:
space:
mode:
authordsc <xmrdsc@protonmail.com>2019-04-08 03:43:18 +0200
committerdsc <xmrdsc@protonmail.com>2019-04-11 20:05:09 +0200
commitbd2687c22f5d147e382e1440fd2f999b83f8dcb4 (patch)
treed217ccea61395d6a567496184b1a74e60bfdaa5d /wizard/WizardDaemonSettings.qml
parentd2c47606ca8446e58ef122117f8f84b578691bab (diff)
downloadmonzero-gui-bd2687c22f5d147e382e1440fd2f999b83f8dcb4.tar.gz
monzero-gui-bd2687c22f5d147e382e1440fd2f999b83f8dcb4.tar.xz
monzero-gui-bd2687c22f5d147e382e1440fd2f999b83f8dcb4.zip
flickable for wizardController
Diffstat (limited to 'wizard/WizardDaemonSettings.qml')
-rw-r--r--wizard/WizardDaemonSettings.qml37
1 files changed, 21 insertions, 16 deletions
diff --git a/wizard/WizardDaemonSettings.qml b/wizard/WizardDaemonSettings.qml
index 62aa2cbe..3d672747 100644
--- a/wizard/WizardDaemonSettings.qml
+++ b/wizard/WizardDaemonSettings.qml
@@ -48,6 +48,7 @@ ColumnLayout {
MoneroComponents.RadioButton {
id: localNode
+ Layout.fillWidth: true
text: qsTr("Start a node automatically in background (recommended)") + translationManager.emptyString
fontSize: 16 * scaleRatio
checked: !appWindow.persistentSettings.useRemoteNode && !isAndroid && !isIOS
@@ -59,8 +60,8 @@ ColumnLayout {
}
ColumnLayout {
- visible: localNode.checked
id: blockchainFolderRow
+ visible: localNode.checked
spacing: 20 * scaleRatio
Layout.topMargin: 8 * scaleRatio
@@ -148,7 +149,6 @@ ColumnLayout {
ColumnLayout {
spacing: 8
Layout.fillWidth: true
- Layout.bottomMargin: 12 * scaleRatio
MoneroComponents.RemoteNodeEdit {
id: bootstrapNodeEdit
@@ -176,25 +176,30 @@ ColumnLayout {
}
}
-
- RowLayout {
- MoneroComponents.RadioButton {
- id: remoteNode
- text: qsTr("Connect to a remote node") + translationManager.emptyString
- fontSize: 16 * scaleRatio
- checked: appWindow.persistentSettings.useRemoteNode
- onClicked: {
- checked = true
- localNode.checked = false
- }
+ MoneroComponents.RadioButton {
+ id: remoteNode
+ Layout.fillWidth: true
+ Layout.topMargin: 8 * scaleRatio
+ text: qsTr("Connect to a remote node") + translationManager.emptyString
+ fontSize: 16 * scaleRatio
+ checked: appWindow.persistentSettings.useRemoteNode
+ onClicked: {
+ checked = true
+ localNode.checked = false
}
}
- RowLayout {
+ ColumnLayout {
+ visible: remoteNode.checked
+ spacing: 0 * scaleRatio
+
+ Layout.topMargin: 8 * scaleRatio
+ Layout.fillWidth: true
+
MoneroComponents.RemoteNodeEdit {
- Layout.minimumWidth: 300 * scaleRatio
- opacity: remoteNode.checked
id: remoteNodeEdit
+ Layout.fillWidth: true
+
property var rna: persistentSettings.remoteNodeAddress
daemonAddrText: rna.search(":") != -1 ? rna.split(":")[0].trim() : ""
daemonPortText: rna.search(":") != -1 ? (rna.split(":")[1].trim() == "") ? appWindow.getDefaultDaemonRpcPort(persistentSettings.nettype) : persistentSettings.remoteNodeAddress.split(":")[1] : ""