mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:38:10 +00:00

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.
69 lines
1.6 KiB
Text
69 lines
1.6 KiB
Text
@GUI::Frame {
|
|
fill_with_background_color: true
|
|
layout: @GUI::VerticalBoxLayout {
|
|
margins: [8]
|
|
spacing: 5
|
|
}
|
|
|
|
@GUI::GroupBox {
|
|
title: "Preferred first day of week"
|
|
fixed_height: 72
|
|
layout: @GUI::VerticalBoxLayout {
|
|
margins: [6]
|
|
spacing: 2
|
|
}
|
|
|
|
@GUI::Label {
|
|
text: "Determines which day a week starts with in the calendar view."
|
|
word_wrap: true
|
|
text_alignment: "CenterLeft"
|
|
}
|
|
|
|
@GUI::Widget {
|
|
layout: @GUI::HorizontalBoxLayout {
|
|
spacing: 16
|
|
}
|
|
|
|
@GUI::Label {
|
|
text: "First day:"
|
|
text_alignment: "CenterLeft"
|
|
fixed_width: 70
|
|
}
|
|
|
|
@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"
|
|
}
|
|
}
|
|
}
|
|
}
|