mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:18:11 +00:00

Now that the GML formatter is both perserving comments and also mostly agrees to the existing GML style, it can be used to auto-format all the GML files in the system. This commit does not only contain the scripts for running the formatting on CI and the pre-commit hook, but also initially formats all the existing GML files so that the hook is successfull.
109 lines
2.4 KiB
Text
109 lines
2.4 KiB
Text
@GUI::Widget {
|
|
name: "main"
|
|
fill_with_background_color: true
|
|
layout: @GUI::VerticalBoxLayout {
|
|
spacing: 2
|
|
}
|
|
|
|
@GUI::ToolbarContainer {
|
|
name: "toolbar_container"
|
|
@GUI::Toolbar {
|
|
name: "toolbar"
|
|
}
|
|
}
|
|
|
|
@GUI::HorizontalSplitter {
|
|
@GUI::TextEditor {
|
|
name: "editor"
|
|
}
|
|
|
|
@GUI::Widget {
|
|
name: "web_view_container"
|
|
visible: false
|
|
layout: @GUI::VerticalBoxLayout
|
|
|
|
}
|
|
}
|
|
|
|
@GUI::GroupBox {
|
|
name: "find_replace_widget"
|
|
visible: false
|
|
fill_with_background_color: true
|
|
fixed_height: 56
|
|
layout: @GUI::VerticalBoxLayout {
|
|
spacing: 2
|
|
margins: [3]
|
|
}
|
|
|
|
@GUI::Widget {
|
|
name: "find_widget"
|
|
fill_with_background_color: true
|
|
fixed_height: 22
|
|
layout: @GUI::HorizontalBoxLayout {
|
|
spacing: 4
|
|
}
|
|
|
|
@GUI::Button {
|
|
name: "find_previous_button"
|
|
fixed_width: 38
|
|
}
|
|
|
|
@GUI::Button {
|
|
name: "find_next_button"
|
|
fixed_width: 38
|
|
}
|
|
|
|
@GUI::TextBox {
|
|
name: "find_textbox"
|
|
}
|
|
|
|
@GUI::CheckBox {
|
|
name: "regex_checkbox"
|
|
text: "Use RegEx"
|
|
fixed_width: 80
|
|
}
|
|
|
|
@GUI::CheckBox {
|
|
name: "match_case_checkbox"
|
|
text: "Match case"
|
|
fixed_width: 85
|
|
}
|
|
}
|
|
|
|
@GUI::Widget {
|
|
name: "replace_widget"
|
|
fill_with_background_color: true
|
|
fixed_height: 22
|
|
layout: @GUI::HorizontalBoxLayout {
|
|
spacing: 4
|
|
}
|
|
|
|
@GUI::Button {
|
|
name: "replace_button"
|
|
text: "Replace"
|
|
fixed_width: 80
|
|
}
|
|
|
|
@GUI::TextBox {
|
|
name: "replace_textbox"
|
|
}
|
|
|
|
@GUI::Button {
|
|
name: "replace_all_button"
|
|
text: "Replace all"
|
|
fixed_width: 80
|
|
}
|
|
|
|
@GUI::CheckBox {
|
|
name: "wrap_around_checkbox"
|
|
text: "Wrap around"
|
|
fixed_width: 85
|
|
}
|
|
}
|
|
}
|
|
|
|
@GUI::Statusbar {
|
|
name: "statusbar"
|
|
label_count: 2
|
|
}
|
|
}
|