diff options
| author | dsc <xmrdsc@protonmail.com> | 2019-04-08 03:43:18 +0200 |
|---|---|---|
| committer | dsc <xmrdsc@protonmail.com> | 2019-04-11 20:05:09 +0200 |
| commit | bd2687c22f5d147e382e1440fd2f999b83f8dcb4 (patch) | |
| tree | d217ccea61395d6a567496184b1a74e60bfdaa5d /wizard/WizardDaemonSettings.qml | |
| parent | d2c47606ca8446e58ef122117f8f84b578691bab (diff) | |
| download | monzero-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.qml | 37 |
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] : "" |
