mirror of
https://github.com/RGBCube/serenity
synced 2025-05-24 01:05:08 +00:00

Registers the PreviewWidget for addition directly into GML. Fixes its previous double Frame borders. Also standardizes the Apply and Reset buttons as DialogButtons and spaces them consistently with other apps. Gives the TabWidget some tasteful container margins.
44 lines
900 B
Text
44 lines
900 B
Text
@GUI::Widget {
|
|
layout: @GUI::VerticalBoxLayout {
|
|
margins: [0, 4, 4]
|
|
spacing: 6
|
|
}
|
|
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 {
|
|
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
|
|
}
|
|
}
|
|
}
|