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

@ -1,9 +1,10 @@
@GUI::Widget {
layout: @GUI::VerticalBoxLayout
fill_with_background_color: true
fill_with_background_color: true
@GUI::Frame {
layout: @GUI::HorizontalBoxLayout
name: "preview_frame"
}
@ -11,9 +12,9 @@
layout: @GUI::HorizontalBoxLayout {
margins: [4, 4, 4, 4]
}
shrink_to_fit: true
title: "Colors"
@GUI::ComboBox {
name: "color_combo_box"
model_only: true
@ -29,9 +30,9 @@
layout: @GUI::HorizontalBoxLayout {
margins: [4, 4, 4, 4]
}
shrink_to_fit: true
title: "Alignments"
@GUI::ComboBox {
name: "alignment_combo_box"
model_only: true
@ -47,17 +48,16 @@
layout: @GUI::HorizontalBoxLayout {
margins: [4, 4, 4, 4]
}
shrink_to_fit: true
title: "Flags"
@GUI::ComboBox {
name: "flag_combo_box"
model_only: true
fixed_width: 230
}
@GUI::Widget {
}
@GUI::Widget
@GUI::CheckBox {
name: "flag_input"
@ -69,9 +69,9 @@
layout: @GUI::HorizontalBoxLayout {
margins: [4, 4, 4, 4]
}
shrink_to_fit: true
title: "Metrics"
@GUI::ComboBox {
name: "metric_combo_box"
model_only: true
@ -87,9 +87,9 @@
layout: @GUI::HorizontalBoxLayout {
margins: [4, 4, 4, 4]
}
shrink_to_fit: true
title: "Paths"
@GUI::ComboBox {
name: "path_combo_box"
model_only: true