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

ThemeEditor: Add a Statusbar

This commit is contained in:
Sam Atkins 2023-06-17 16:45:25 +01:00 committed by Andreas Kling
parent ae6bde6847
commit 16240942ba
3 changed files with 54 additions and 38 deletions

View file

@ -1,44 +1,52 @@
@GUI::Widget {
layout: @GUI::VerticalBoxLayout {
margins: [0, 4, 4]
spacing: 6
}
layout: @GUI::VerticalBoxLayout {}
fill_with_background_color: true
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout {
spacing: 4
}
@ThemeEditor::PreviewWidget {
name: "preview_widget"
}
@GUI::TabWidget {
name: "property_tabs"
container_margins: [5]
}
}
@GUI::Widget {
name: "theme_override_controls"
layout: @GUI::HorizontalBoxLayout {
layout: @GUI::VerticalBoxLayout {
margins: [0, 4, 4]
spacing: 6
}
preferred_height: "shrink"
@GUI::Layout::Spacer {}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout {
spacing: 4
}
@GUI::DialogButton {
name: "reset_button"
text: "Reset"
enabled: false
@ThemeEditor::PreviewWidget {
name: "preview_widget"
}
@GUI::TabWidget {
name: "property_tabs"
container_margins: [5]
}
}
@GUI::DialogButton {
name: "apply_button"
text: "Apply"
enabled: false
@GUI::Widget {
name: "theme_override_controls"
layout: @GUI::HorizontalBoxLayout {
spacing: 6
}
preferred_height: "shrink"
@GUI::Layout::Spacer {}
@GUI::DialogButton {
name: "reset_button"
text: "Reset"
enabled: false
}
@GUI::DialogButton {
name: "apply_button"
text: "Apply"
enabled: false
}
}
}
@GUI::Statusbar {
name: "statusbar"
}
}