1
Fork 0
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:
MacDue 2022-03-27 20:32:32 +01:00 committed by Andreas Kling
parent 8fa0409ae1
commit 04b6a060ca
7 changed files with 208 additions and 0 deletions

View 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"
}
}
}