mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 05:47:34 +00:00
DisplaySettings: Add theme selection and preview
This commit is contained in:
parent
8fa0409ae1
commit
04b6a060ca
7 changed files with 208 additions and 0 deletions
32
Userland/Applications/DisplaySettings/ThemesSettings.gml
Normal file
32
Userland/Applications/DisplaySettings/ThemesSettings.gml
Normal file
|
@ -0,0 +1,32 @@
|
|||
@GUI::Widget {
|
||||
fill_with_background_color: true
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
margins: [8]
|
||||
}
|
||||
|
||||
@GUI::Frame {
|
||||
layout: @GUI::HorizontalBoxLayout {}
|
||||
name: "preview_frame"
|
||||
fixed_width: 304
|
||||
fixed_height: 201
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
fixed_height: 20
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
shrink_to_fit: true
|
||||
layout: @GUI::HorizontalBoxLayout {}
|
||||
|
||||
@GUI::Label {
|
||||
text: "Theme:"
|
||||
text_alignment: "CenterLeft"
|
||||
fixed_width: 95
|
||||
}
|
||||
|
||||
@GUI::ComboBox {
|
||||
name: "themes_combo"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue