Remove scaleRatio

This commit is contained in:
dsc
2019-04-25 21:09:23 +02:00
parent e1c429110f
commit 62285b01dc
80 changed files with 1070 additions and 1075 deletions

View File

@@ -46,17 +46,17 @@ Rectangle {
Layout.fillWidth: true
anchors.horizontalCenter: parent.horizontalCenter;
spacing: 10 * scaleRatio
spacing: 10
ColumnLayout {
Layout.fillWidth: true
Layout.topMargin: wizardController.wizardSubViewTopMargin
Layout.maximumWidth: wizardController.wizardSubViewWidth
Layout.alignment: Qt.AlignHCenter
spacing: 0 * scaleRatio
spacing: 0
WizardHeader {
Layout.bottomMargin: 20 * scaleRatio
Layout.bottomMargin: 20
title: qsTr("Welcome to Monero.") + translationManager.emptyString
subtitle: ""
}
@@ -75,8 +75,8 @@ Rectangle {
Rectangle {
Layout.preferredHeight: 1
Layout.topMargin: 3 * scaleRatio
Layout.bottomMargin: 3 * scaleRatio
Layout.topMargin: 3
Layout.bottomMargin: 3
Layout.fillWidth: true
color: MoneroComponents.Style.dividerColor
opacity: MoneroComponents.Style.dividerOpacity
@@ -95,8 +95,8 @@ Rectangle {
Rectangle {
Layout.preferredHeight: 1
Layout.topMargin: 3 * scaleRatio
Layout.bottomMargin: 3 * scaleRatio
Layout.topMargin: 3
Layout.bottomMargin: 3
Layout.fillWidth: true
color: MoneroComponents.Style.dividerColor
opacity: MoneroComponents.Style.dividerOpacity
@@ -114,8 +114,8 @@ Rectangle {
Rectangle {
Layout.preferredHeight: 1
Layout.topMargin: 3 * scaleRatio
Layout.bottomMargin: 3 * scaleRatio
Layout.topMargin: 3
Layout.bottomMargin: 3
Layout.fillWidth: true
color: MoneroComponents.Style.dividerColor
opacity: MoneroComponents.Style.dividerOpacity
@@ -134,8 +134,8 @@ Rectangle {
RowLayout {
Layout.fillWidth: true
Layout.topMargin: 16 * scaleRatio
spacing: 20 * scaleRatio
Layout.topMargin: 16
spacing: 20
MoneroComponents.StandardButton {
small: true
@@ -159,9 +159,9 @@ Rectangle {
MoneroComponents.CheckBox2 {
id: showAdvancedCheckbox
Layout.topMargin: 30 * scaleRatio
Layout.topMargin: 30
Layout.fillWidth: true
fontSize: 15 * scaleRatio
fontSize: 15
checked: false
text: qsTr("Advanced options") + translationManager.emptyString
visible: appWindow.walletMode >= 2
@@ -203,8 +203,8 @@ Rectangle {
Layout.fillWidth: true
labelText: qsTr("Number of KDF rounds:") + translationManager.emptyString
labelFontSize: 14 * scaleRatio
placeholderFontSize: 16 * scaleRatio
labelFontSize: 14
placeholderFontSize: 16
placeholderText: "0"
validator: IntValidator { bottom: 1 }
text: persistentSettings.kdfRounds ? persistentSettings.kdfRounds : "1"