mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 15:47:34 +00:00
Calendar: Add setting to choose default view
This commit adds an entry to the Calendar Settings to allow the user to select between the month and year views as the startup default.
This commit is contained in:
parent
0eceed4fd7
commit
a1d98b825d
5 changed files with 58 additions and 3 deletions
|
@ -30,9 +30,40 @@
|
|||
fixed_width: 70
|
||||
}
|
||||
|
||||
@GUI::ComboBox {
|
||||
name: "first_day_of_week"
|
||||
}
|
||||
@GUI::ComboBox {
|
||||
name: "first_day_of_week"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@GUI::GroupBox {
|
||||
title: "Default view"
|
||||
fixed_height: 72
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
margins: [6]
|
||||
spacing: 2
|
||||
}
|
||||
|
||||
@GUI::Label {
|
||||
text: "Show the month or the year view when Calendar is started."
|
||||
word_wrap: true
|
||||
text_alignment: "CenterLeft"
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
spacing: 16
|
||||
}
|
||||
|
||||
@GUI::Label {
|
||||
text: "Default view:"
|
||||
text_alignment: "CenterLeft"
|
||||
fixed_width: 70
|
||||
}
|
||||
|
||||
@GUI::ComboBox {
|
||||
name: "default_view"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue