diff --git a/Userland/Applications/Calendar/AddEventDialog.gml b/Userland/Applications/Calendar/AddEventDialog.gml index 13670d9cac6..a0b11f2c9c3 100644 --- a/Userland/Applications/Calendar/AddEventDialog.gml +++ b/Userland/Applications/Calendar/AddEventDialog.gml @@ -120,7 +120,6 @@ name: "duration_hour" fixed_size: [50, 20] min: 0 - max: 999999 } @GUI::SpinBox { diff --git a/Userland/Applications/FontEditor/FontEditorWindow.gml b/Userland/Applications/FontEditor/FontEditorWindow.gml index 0909c1ae843..b33efd0992a 100644 --- a/Userland/Applications/FontEditor/FontEditorWindow.gml +++ b/Userland/Applications/FontEditor/FontEditorWindow.gml @@ -35,6 +35,7 @@ @GUI::SpinBox { name: "glyph_editor_width_spinbox" preferred_width: "fit" + min: 0 } @GUI::CheckBox { diff --git a/Userland/Libraries/LibGUI/FontPickerDialog.gml b/Userland/Libraries/LibGUI/FontPickerDialog.gml index ddf0fe0afb9..854c5381c60 100644 --- a/Userland/Libraries/LibGUI/FontPickerDialog.gml +++ b/Userland/Libraries/LibGUI/FontPickerDialog.gml @@ -48,6 +48,7 @@ @GUI::SpinBox { name: "size_spin_box" + min: 0 } @GUI::ListView { diff --git a/Userland/Libraries/LibGUI/SpinBox.h b/Userland/Libraries/LibGUI/SpinBox.h index c79ed42b35f..d288a839754 100644 --- a/Userland/Libraries/LibGUI/SpinBox.h +++ b/Userland/Libraries/LibGUI/SpinBox.h @@ -42,8 +42,8 @@ private: RefPtr