1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 20:37:35 +00:00

Calendar: Add a Calendar settings dialog for the first day of the week

This commit adds a new settings dialog for the Calendar application and
applet. It allows the user to specify their preferred first day of the
week.
This commit is contained in:
Olivier De Cannière 2022-07-16 01:33:39 +02:00 committed by Tim Flynn
parent 9414525d75
commit 0eceed4fd7
12 changed files with 178 additions and 2 deletions

View file

@ -0,0 +1,38 @@
@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"
}
}
}
}