mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:17:45 +00:00
BrowserSettings: Add preferred-color-scheme setting
This commit is contained in:
parent
11466c5316
commit
f2b8ae7d86
3 changed files with 80 additions and 1 deletions
|
@ -41,13 +41,35 @@
|
|||
|
||||
@GUI::GroupBox {
|
||||
title: "Appearance"
|
||||
fixed_height: 64
|
||||
fixed_height: 104
|
||||
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
margins: [16, 8, 8]
|
||||
spacing: 2
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
spacing: 16
|
||||
}
|
||||
|
||||
@GUI::Label {
|
||||
fixed_width: 32
|
||||
fixed_height: 32
|
||||
name: "appearance_image_label"
|
||||
}
|
||||
|
||||
@GUI::Label {
|
||||
text: "Color scheme:"
|
||||
text_alignment: "CenterLeft"
|
||||
fixed_width: 110
|
||||
}
|
||||
|
||||
@GUI::ComboBox {
|
||||
name: "color_scheme_combobox"
|
||||
}
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
spacing: 16
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue