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

Meta+Userland: Run the GML formatter on CI and pre-commit

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.
This commit is contained in:
kleines Filmröllchen 2022-02-05 14:31:48 +01:00 committed by Andreas Kling
parent 32de6dde4c
commit 6ee597369d
60 changed files with 221 additions and 552 deletions

View file

@ -3,7 +3,6 @@
fixed_width: 280
fixed_height: 146
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout {
spacing: 2
margins: [4]
@ -11,8 +10,8 @@
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
fixed_height: 22
fixed_height: 22
@GUI::Label {
text: "Value to find"
fixed_width: 80
@ -32,8 +31,8 @@
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
fixed_height: 22
fixed_height: 22
@GUI::Button {
name: "find_button"
text: "Find"

View file

@ -3,7 +3,6 @@
fixed_width: 300
fixed_height: 80
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout {
spacing: 2
margins: [0]

View file

@ -1,14 +1,12 @@
@GUI::Widget {
name: "main"
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout {
spacing: 2
}
@GUI::ToolbarContainer {
name: "toolbar_container"
@GUI::Toolbar {
name: "toolbar"
}
@ -22,9 +20,7 @@
@GUI::Widget {
name: "search_results_container"
visible: false
layout: @GUI::VerticalBoxLayout {
}
layout: @GUI::VerticalBoxLayout
@GUI::TableView {
name: "search_results"