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

ClockSettings+Taskbar: Add settings for taskbar clock format

This commit is contained in:
cflip 2022-04-03 17:13:52 -06:00 committed by Andreas Kling
parent 36b6356ce5
commit 5bb0b6ba7a
13 changed files with 334 additions and 179 deletions

View file

@ -6,37 +6,42 @@
}
@GUI::GroupBox {
title: "Time Zone Settings"
title: "Time Format"
shrink_to_fit: false
fixed_height: 160
layout: @GUI::VerticalBoxLayout {
margins: [16, 8, 8]
spacing: 16
}
@GUI::Label {
text: "Change the system's time zone used for the clock and other applications."
text: "Set the date/time format used by the taskbar clock."
text_alignment: "TopLeft"
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout {
shrink_to_fit: true
layout: @GUI::VerticalBoxLayout {
spacing: 4
}
@GUI::Label {
text: "Time Zone:"
fixed_width: 80
name: "time_zone_label"
text_alignment: "CenterLeft"
@GUI::RadioButton {
name: "24hour_radio"
text: "24-hour (12:34:56)"
}
@GUI::ComboBox {
name: "time_zone_input"
@GUI::RadioButton {
name: "12hour_radio"
text: "12-hour (12:34 a.m)"
}
}
@GUI::ImageWidget {
name: "time_zone_map"
auto_resize: true
@GUI::RadioButton {
name: "custom_radio"
text: "Custom:"
}
@GUI::TextBox {
name: "custom_format_input"
}
}
}
}