mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:07:45 +00:00
Calendar: Add feature to view/edit duration of events in AddEventDialog
This commit is contained in:
parent
5b72711beb
commit
4aa04cdf65
3 changed files with 58 additions and 0 deletions
|
@ -102,6 +102,35 @@
|
|||
}
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
fill_with_background_color: true
|
||||
fixed_height: 25
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
spacing: 4
|
||||
}
|
||||
|
||||
@GUI::Label {
|
||||
text: "Duration:"
|
||||
text_alignment: "CenterLeft"
|
||||
fixed_height: 14
|
||||
font_weight: "Bold"
|
||||
}
|
||||
|
||||
@GUI::SpinBox {
|
||||
name: "duration_hour"
|
||||
fixed_size: [50, 20]
|
||||
min: 0
|
||||
max: 999999
|
||||
}
|
||||
|
||||
@GUI::SpinBox {
|
||||
name: "duration_minute"
|
||||
fixed_size: [40, 20]
|
||||
min: 0
|
||||
max: 59
|
||||
}
|
||||
}
|
||||
|
||||
@GUI::Layout::Spacer {}
|
||||
|
||||
@GUI::Widget {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue