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

@@ -34,7 +34,7 @@ import "../components" as MoneroComponents
Rectangle {
property bool active: false
Layout.preferredWidth: 30 * scaleRatio
Layout.preferredWidth: 30
Layout.fillHeight: true
property string activeColor: MoneroComponents.Style.defaultFontColor
property string inactiveColor: MoneroComponents.Style.progressBarBackgroundColor
@@ -43,9 +43,9 @@ Rectangle {
Rectangle {
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
width: 10 * scaleRatio
height: 10 * scaleRatio
radius: 10 * scaleRatio
width: 10
height: 10
radius: 10
color: parent.active ? parent.activeColor : parent.inactiveColor
}
}