forked from Public/monero-gui
Remove scaleRatio
This commit is contained in:
@@ -46,7 +46,7 @@ Rectangle {
|
||||
anchors.top: parent.top
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
spacing: 30 * scaleRatio
|
||||
spacing: 30
|
||||
|
||||
Rectangle {
|
||||
// some margins for the titlebar
|
||||
@@ -66,7 +66,7 @@ Rectangle {
|
||||
|
||||
font.family: MoneroComponents.Style.fontRegular.name
|
||||
font.bold: true
|
||||
font.pixelSize: 18 * scaleRatio
|
||||
font.pixelSize: 18
|
||||
horizontalAlignment: TextInput.AlignHCenter
|
||||
selectByMouse: false
|
||||
wrapMode: Text.WordWrap
|
||||
@@ -110,10 +110,10 @@ Rectangle {
|
||||
visible: !globe.small
|
||||
anchors.left: parent.left
|
||||
anchors.top: parent.top
|
||||
anchors.leftMargin: 117 * scaleRatio
|
||||
anchors.topMargin: 71 * scaleRatio
|
||||
width: 36 * scaleRatio
|
||||
height: 40 * scaleRatio
|
||||
anchors.leftMargin: 117
|
||||
anchors.topMargin: 71
|
||||
width: 36
|
||||
height: 40
|
||||
color: "transparent"
|
||||
|
||||
MouseArea {
|
||||
@@ -150,13 +150,13 @@ Rectangle {
|
||||
opacity: 0
|
||||
columns: isMobile ? 1 : 2
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
Layout.topMargin: 20 * scaleRatio
|
||||
Layout.topMargin: 20
|
||||
Layout.fillWidth: true
|
||||
columnSpacing: 20 * scaleRatio
|
||||
columnSpacing: 20
|
||||
|
||||
MoneroComponents.StandardButton {
|
||||
id: idChangeLang
|
||||
Layout.minimumWidth: 150 * scaleRatio
|
||||
Layout.minimumWidth: 150
|
||||
text: "Language"
|
||||
|
||||
onClicked: {
|
||||
@@ -166,7 +166,7 @@ Rectangle {
|
||||
|
||||
MoneroComponents.StandardButton {
|
||||
id: btnContinue
|
||||
Layout.minimumWidth: 150 * scaleRatio
|
||||
Layout.minimumWidth: 150
|
||||
text: "Continue"
|
||||
|
||||
onClicked: {
|
||||
@@ -191,7 +191,7 @@ Rectangle {
|
||||
opacity: 0
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
font.bold: true
|
||||
font.pixelSize: 12 * scaleRatio
|
||||
font.pixelSize: 12
|
||||
font.family: MoneroComponents.Style.fontRegular.name
|
||||
color: MoneroComponents.Style.defaultFontColor
|
||||
text: Version.GUI_VERSION + " (Qt " + qtRuntimeVersion + ")"
|
||||
|
||||
Reference in New Issue
Block a user