ladybird/Userland/Applications/ThemeEditor/ThemeEditor.gml
thankyouverycool d444724d24 ThemeEditor: Update GML and polish interface
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.
2022-11-19 11:04:11 +01:00

45 lines
900 B
Plaintext

@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
}
}
}