mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 01:00:05 +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:
parent
60174cc9aa
commit
d0a4f6678c
Notes:
sideshowbarker
2024-07-18 01:43:16 +09:00
Author: https://github.com/david072
Commit: d0a4f6678c
Pull-request: https://github.com/SerenityOS/serenity/pull/21976
Issue: https://github.com/SerenityOS/serenity/issues/21713
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/AtkinsSJ
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue