diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-04-25 15:27:19 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-04-25 15:27:19 -0500 |
| commit | b0ba2379f4c657999510b054a22cb5c906e71e8a (patch) | |
| tree | 5d5c4d35786fb65052784fe6a70e3d08dac2eb01 /wizard/WizardCreateDevice1.qml | |
| parent | 5887f87677b40b70b689e20056a57957157ed481 (diff) | |
| parent | 62285b01dc77ef14e4b5b9cc291e34162321ad89 (diff) | |
| download | monzero-gui-b0ba2379f4c657999510b054a22cb5c906e71e8a.tar.gz monzero-gui-b0ba2379f4c657999510b054a22cb5c906e71e8a.tar.xz monzero-gui-b0ba2379f4c657999510b054a22cb5c906e71e8a.zip | |
Merge pull request #2069
62285b0 Remove scaleRatio (xmrdsc)
Diffstat (limited to 'wizard/WizardCreateDevice1.qml')
| -rw-r--r-- | wizard/WizardCreateDevice1.qml | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/wizard/WizardCreateDevice1.qml b/wizard/WizardCreateDevice1.qml index b8ec9f7c..88fa82fc 100644 --- a/wizard/WizardCreateDevice1.qml +++ b/wizard/WizardCreateDevice1.qml @@ -68,7 +68,7 @@ Rectangle { Layout.topMargin: wizardController.wizardSubViewTopMargin Layout.maximumWidth: wizardController.wizardSubViewWidth Layout.alignment: Qt.AlignHCenter - spacing: 20 * scaleRatio + spacing: 20 WizardHeader { title: qsTr("Create a new wallet") + translationManager.emptyString @@ -82,13 +82,13 @@ Rectangle { ColumnLayout { spacing: 0 - Layout.topMargin: 10 * scaleRatio + Layout.topMargin: 10 Layout.fillWidth: true MoneroComponents.RadioButton { id: newDeviceWallet text: qsTr("Create a new wallet from device.") + translationManager.emptyString - fontSize: 16 * scaleRatio + fontSize: 16 checked: true onClicked: { checked = true; @@ -99,9 +99,9 @@ Rectangle { MoneroComponents.RadioButton { id: restoreDeviceWallet - Layout.topMargin: 10 * scaleRatio + Layout.topMargin: 10 text: qsTr("Restore a wallet from device. Use this if you used your hardware wallet before.") + translationManager.emptyString - fontSize: 16 * scaleRatio + fontSize: 16 checked: false onClicked: { checked = true; @@ -112,18 +112,18 @@ Rectangle { } ColumnLayout { - Layout.topMargin: 10 * scaleRatio + Layout.topMargin: 10 Layout.fillWidth: true - spacing: 20 * scaleRatio + spacing: 20 MoneroComponents.LineEdit { id: restoreHeight visible: !newDeviceWallet.checked Layout.fillWidth: true labelText: qsTr("Wallet creation date as `YYYY-MM-DD` or restore height") + translationManager.emptyString - labelFontSize: 14 * scaleRatio - placeholderFontSize: 16 * scaleRatio + labelFontSize: 14 + placeholderFontSize: 16 placeholderText: qsTr("Restore height") + translationManager.emptyString validator: RegExpValidator { regExp: /^(\d+|\d{4}-\d{2}-\d{2})$/ @@ -136,9 +136,9 @@ Rectangle { Layout.fillWidth: true labelText: qsTr("Subaddress lookahead (optional)") + translationManager.emptyString - labelFontSize: 14 * scaleRatio + labelFontSize: 14 placeholderText: "<major>:<minor>" - placeholderFontSize: 16 * scaleRatio + placeholderFontSize: 16 validator: RegExpValidator { regExp: /(\d+):(\d+)?$/ } } } @@ -146,7 +146,7 @@ Rectangle { ColumnLayout { spacing: 0 - Layout.topMargin: 10 * scaleRatio + Layout.topMargin: 10 Layout.fillWidth: true z: 3 @@ -155,7 +155,7 @@ Rectangle { id: deviceNameDropdown dataModel: deviceNameModel Layout.fillWidth: true - Layout.topMargin: 6 * scaleRatio + Layout.topMargin: 6 } } } @@ -167,7 +167,7 @@ Rectangle { Layout.fillWidth: true font.family: MoneroComponents.Style.fontRegular.name color: MoneroComponents.Style.errorColor - font.pixelSize: 16 * scaleRatio + font.pixelSize: 16 selectionColor: MoneroComponents.Style.textSelectionColor selectedTextColor: MoneroComponents.Style.textSelectedColor |
