1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 02:07: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

@ -12,7 +12,6 @@
@GUI::GroupBox {
max_height: 30
layout: @GUI::HorizontalBoxLayout {
margins: [8]
}
@ -22,8 +21,7 @@
tooltip: "Opacity Slider"
}
@GUI::VerticalSeparator {
}
@GUI::VerticalSeparator
@GUI::ValueSlider {
name: "opacity_value_slider"
@ -34,8 +32,7 @@
}
}
@GUI::HorizontalSeparator {
}
@GUI::HorizontalSeparator
@GUI::Frame {
shape: "Panel"
@ -59,8 +56,7 @@
margins: [0, 8]
}
@GUI::Widget {
}
@GUI::Widget
@GUI::Scrollbar {
name: "enabled_scrollbar"
@ -71,14 +67,11 @@
value: 50
}
@GUI::Widget {
}
@GUI::Widget
@GUI::HorizontalSeparator {
}
@GUI::HorizontalSeparator
@GUI::Widget {
}
@GUI::Widget
@GUI::Scrollbar {
name: "disabled_scrollbar"
@ -86,8 +79,7 @@
fixed_width: -1
}
@GUI::Widget {
}
@GUI::Widget
}
@GUI::GroupBox {
@ -109,8 +101,7 @@
tooltip: "Fixed"
}
@GUI::VerticalSeparator {
}
@GUI::VerticalSeparator
@GUI::VerticalSlider {
enabled: false
@ -120,8 +111,7 @@
value: 5
}
@GUI::VerticalSeparator {
}
@GUI::VerticalSeparator
@GUI::VerticalProgressbar {
name: "vertical_progressbar_right"
@ -144,8 +134,7 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout {
}
layout: @GUI::HorizontalBoxLayout
@GUI::HorizontalSlider {
name: "horizontal_slider_left"
@ -155,8 +144,7 @@
value: 0
}
@GUI::VerticalSeparator {
}
@GUI::VerticalSeparator
@GUI::HorizontalSlider {
enabled: false
@ -165,8 +153,7 @@
value: 5
}
@GUI::VerticalSeparator {
}
@GUI::VerticalSeparator
@GUI::HorizontalSlider {
name: "horizontal_slider_right"
@ -177,8 +164,7 @@
}
}
@GUI::HorizontalSeparator {
}
@GUI::HorizontalSeparator
@GUI::HorizontalProgressbar {
name: "horizontal_progressbar"