From 5b851e4630f5457e73b4800dd416276b426c4404 Mon Sep 17 00:00:00 2001 From: Remco Burema Date: Fri, 5 Aug 2022 13:33:50 +0200 Subject: Click on checkbox only for checkbox-setting. People accidentally set (checkbox) settings when mis-clicking slightly when scrolling through the settings. CURA-9530 --- resources/qml/Settings/SettingCheckBox.qml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'resources') 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: -- cgit v1.2.3