mirror of
https://github.com/RGBCube/serenity
synced 2025-06-13 19:32:09 +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
1 changed files with 4 additions and 4 deletions
|
@ -51,13 +51,13 @@
|
||||||
name: "start_hour"
|
name: "start_hour"
|
||||||
fixed_size: [50, 20]
|
fixed_size: [50, 20]
|
||||||
min: 1
|
min: 1
|
||||||
max: 12
|
max: 24
|
||||||
}
|
}
|
||||||
|
|
||||||
@GUI::SpinBox {
|
@GUI::SpinBox {
|
||||||
name: "start_minute"
|
name: "start_minute"
|
||||||
fixed_size: [40, 20]
|
fixed_size: [40, 20]
|
||||||
min: 1
|
min: 0
|
||||||
max: 59
|
max: 59
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -91,13 +91,13 @@
|
||||||
name: "end_hour"
|
name: "end_hour"
|
||||||
fixed_size: [50, 20]
|
fixed_size: [50, 20]
|
||||||
min: 1
|
min: 1
|
||||||
max: 12
|
max: 24
|
||||||
}
|
}
|
||||||
|
|
||||||
@GUI::SpinBox {
|
@GUI::SpinBox {
|
||||||
name: "end_minute"
|
name: "end_minute"
|
||||||
fixed_size: [40, 20]
|
fixed_size: [40, 20]
|
||||||
min: 1
|
min: 0
|
||||||
max: 59
|
max: 59
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue