mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-01 23:07:25 -04:00
Remove scaleRatio
This commit is contained in:
@@ -35,10 +35,10 @@ Item {
|
||||
id: radioButton
|
||||
property alias text: label.text
|
||||
property bool checked: false
|
||||
property int fontSize: 14 * scaleRatio
|
||||
property int fontSize: 14
|
||||
property alias fontColor: label.color
|
||||
signal clicked()
|
||||
height: 26 * scaleRatio
|
||||
height: 26
|
||||
width: layout.width
|
||||
// legacy properties
|
||||
property var checkedColor: MoneroComponents.Style.blackTheme ? "white" : "#666666"
|
||||
@@ -65,8 +65,8 @@ Item {
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
color: checkedColor
|
||||
width: 10 * scaleRatio
|
||||
height: 10 * scaleRatio
|
||||
width: 10
|
||||
height: 10
|
||||
radius: 10
|
||||
opacity: 0.8
|
||||
}
|
||||
@@ -74,7 +74,7 @@ Item {
|
||||
|
||||
MoneroComponents.TextPlain {
|
||||
id: label
|
||||
Layout.leftMargin: (!isMobile ? 10 : 8) * scaleRatio
|
||||
Layout.leftMargin: (!isMobile ? 10 : 8)
|
||||
color: MoneroComponents.Style.defaultFontColor
|
||||
font.family: MoneroComponents.Style.fontRegular.name
|
||||
font.pixelSize: radioButton.fontSize
|
||||
|
||||
Reference in New Issue
Block a user