diff options
| author | dsc <xmrdsc@protonmail.com> | 2019-04-25 21:09:23 +0200 |
|---|---|---|
| committer | dsc <xmrdsc@protonmail.com> | 2019-04-25 21:09:23 +0200 |
| commit | 62285b01dc77ef14e4b5b9cc291e34162321ad89 (patch) | |
| tree | 5ced9d312817ca03be17c242d1e2bd478b4fd1e5 /components/RadioButton.qml | |
| parent | e1c429110f5f2321ad0113a8097eab966d935dcd (diff) | |
| download | monzero-gui-62285b01dc77ef14e4b5b9cc291e34162321ad89.tar.gz monzero-gui-62285b01dc77ef14e4b5b9cc291e34162321ad89.tar.xz monzero-gui-62285b01dc77ef14e4b5b9cc291e34162321ad89.zip | |
Remove scaleRatio
Diffstat (limited to 'components/RadioButton.qml')
| -rw-r--r-- | components/RadioButton.qml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/components/RadioButton.qml b/components/RadioButton.qml index cde2bb90..b0f21ca0 100644 --- a/components/RadioButton.qml +++ b/components/RadioButton.qml @@ -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 |
