1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:38:11 +00:00

Calendar/AddEventDialog: Change SpinBoxes to accept 24-hour values

Since the meridiem selection was removed in the previous commit and
there currently doesn't seem to be a way to change the system time
format, I'm changing the SpinBoxes here to accept 24-hour format values
for now.
This commit is contained in:
david072 2023-11-17 19:47:18 +01:00 committed by Andrew Kaster
parent 60174cc9aa
commit d0a4f6678c

View file

@ -51,13 +51,13 @@
name: "start_hour"
fixed_size: [50, 20]
min: 1
max: 12
max: 24
}
@GUI::SpinBox {
name: "start_minute"
fixed_size: [40, 20]
min: 1
min: 0
max: 59
}
}
@ -91,13 +91,13 @@
name: "end_hour"
fixed_size: [50, 20]
min: 1
max: 12
max: 24
}
@GUI::SpinBox {
name: "end_minute"
fixed_size: [40, 20]
min: 1
min: 0
max: 59
}
}