Specify width and height in Cura.Checkbox

Update Dialogs to use Cura.CheckBox instead of QtQuick. This will make it easier to update the QtQuick checkbox version.
This commit is contained in:
j.delarago 2022-01-20 17:31:00 +01:00
parent 25fa71b056
commit 670872f8d1
4 changed files with 7 additions and 10 deletions

View file

@ -92,17 +92,11 @@ UM.Dialog
wrapMode: Text.WordWrap
}
CheckBox
Cura.CheckBox
{
id: rememberChoiceCheckBox
text: catalog.i18nc("@text:window", "Remember my choice")
checked: UM.Preferences.getValue("cura/choice_on_open_project") != "always_ask"
style: CheckBoxStyle {
label: Label {
text: control.text
font: UM.Theme.getFont("default")
}
}
}
// Buttons