1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 18:17:34 +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,6 +1,5 @@
@GUI::Widget {
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout {
margins: [10]
spacing: 5
@ -10,7 +9,6 @@
title: "Bell Mode"
shrink_to_fit: false
fixed_height: 160
layout: @GUI::VerticalBoxLayout {
margins: [16, 8, 8]
spacing: 16
@ -23,7 +21,6 @@
@GUI::Widget {
shrink_to_fit: true
layout: @GUI::VerticalBoxLayout {
spacing: 4
}
@ -48,12 +45,11 @@
@GUI::GroupBox {
title: "Scrollback Size (Lines)"
shrink_to_fit: true
layout: @GUI::VerticalBoxLayout {
margins: [16, 8, 8]
}
@GUI::CheckBox {
@GUI::CheckBox {
name: "terminal_show_scrollbar"
text: "Show scrollbar"
}

View file

@ -1,6 +1,5 @@
@GUI::Widget {
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout {
margins: [10]
spacing: 5
@ -9,7 +8,6 @@
@GUI::GroupBox {
title: "Background Opacity"
fixed_height: 70
layout: @GUI::VerticalBoxLayout {
margins: [16, 8, 8]
spacing: 16
@ -26,7 +24,6 @@
@GUI::GroupBox {
title: "Terminal Font"
fixed_height: 100
layout: @GUI::VerticalBoxLayout {
margins: [16, 8, 8]
spacing: 16
@ -40,7 +37,6 @@
@GUI::Widget {
shrink_to_fit: true
name: "terminal_font_selection"
layout: @GUI::HorizontalBoxLayout {
spacing: 6
}
@ -48,9 +44,7 @@
@GUI::Frame {
background_role: "Base"
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout {
}
layout: @GUI::VerticalBoxLayout
@GUI::Label {
name: "terminal_font_label"
@ -68,7 +62,6 @@
@GUI::GroupBox {
title: "Color Scheme"
fixed_height: 70
layout: @GUI::VerticalBoxLayout {
margins: [16, 8, 8]
spacing: 16