diff options
author | Remco Burema <r.burema@ultimaker.com> | 2022-08-05 14:33:50 +0300 |
---|---|---|
committer | Remco Burema <r.burema@ultimaker.com> | 2022-08-05 14:33:50 +0300 |
commit | 5b851e4630f5457e73b4800dd416276b426c4404 (patch) | |
tree | f584b45646d81cbbddd3e2fd36259e3b260d7826 | |
parent | 3c9d38ebd4266cc195288cb5a13268444a5918ce (diff) |
Click on checkbox only for checkbox-setting.
People accidentally set (checkbox) settings when mis-clicking slightly when scrolling through the settings.
CURA-9530
-rw-r--r-- | resources/qml/Settings/SettingCheckBox.qml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/resources/qml/Settings/SettingCheckBox.qml b/resources/qml/Settings/SettingCheckBox.qml index 215d2be1be..3aba5b7ecf 100644 --- a/resources/qml/Settings/SettingCheckBox.qml +++ b/resources/qml/Settings/SettingCheckBox.qml @@ -15,7 +15,13 @@ SettingItem contents: MouseArea { id: control - anchors.fill: parent + anchors + { + top: parent.top + bottom: parent.bottom + left: parent.left + } + width: UM.Theme.getSize("checkbox").width hoverEnabled: true property bool checked: |