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/CheckBox.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/CheckBox.qml')
| -rw-r--r-- | components/CheckBox.qml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/components/CheckBox.qml b/components/CheckBox.qml index 15648d3e..d871c649 100644 --- a/components/CheckBox.qml +++ b/components/CheckBox.qml @@ -38,16 +38,16 @@ Item { property alias text: label.text property string checkedIcon: "qrc:///images/check-white.svg" property string uncheckedIcon - property int imgWidth: 13 * scaleRatio - property int imgHeight: 13 * scaleRatio + property int imgWidth: 13 + property int imgHeight: 13 property bool checked: false property alias background: backgroundRect.color property bool border: true - property int fontSize: 14 * scaleRatio + property int fontSize: 14 property alias fontColor: label.color property bool iconOnTheLeft: true signal clicked() - height: 25 * scaleRatio + height: 25 width: checkBoxLayout.width function toggle(){ @@ -58,7 +58,7 @@ Item { RowLayout { id: checkBoxLayout layoutDirection: iconOnTheLeft ? Qt.LeftToRight : Qt.RightToLeft - spacing: (!isMobile ? 10 : 8) * scaleRatio + spacing: (!isMobile ? 10 : 8) Item { id: checkMark |
