diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-04-25 15:27:19 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-04-25 15:27:19 -0500 |
| commit | b0ba2379f4c657999510b054a22cb5c906e71e8a (patch) | |
| tree | 5d5c4d35786fb65052784fe6a70e3d08dac2eb01 /components/CheckBox.qml | |
| parent | 5887f87677b40b70b689e20056a57957157ed481 (diff) | |
| parent | 62285b01dc77ef14e4b5b9cc291e34162321ad89 (diff) | |
| download | monzero-gui-b0ba2379f4c657999510b054a22cb5c906e71e8a.tar.gz monzero-gui-b0ba2379f4c657999510b054a22cb5c906e71e8a.tar.xz monzero-gui-b0ba2379f4c657999510b054a22cb5c906e71e8a.zip | |
Merge pull request #2069
62285b0 Remove scaleRatio (xmrdsc)
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 |
