mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:37: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:
parent
32de6dde4c
commit
6ee597369d
60 changed files with 221 additions and 552 deletions
|
@ -1,8 +1,6 @@
|
|||
@GUI::Frame {
|
||||
fill_with_background_color: true
|
||||
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
}
|
||||
layout: @GUI::VerticalBoxLayout
|
||||
|
||||
@GUI::Widget {
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
|
@ -12,7 +10,6 @@
|
|||
@GUI::GroupBox {
|
||||
title: "Orientation"
|
||||
shrink_to_fit: true
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
margins: [10, 8, 8]
|
||||
}
|
||||
|
@ -33,8 +30,8 @@
|
|||
layout: @GUI::HorizontalBoxLayout {
|
||||
margins: [4]
|
||||
}
|
||||
shrink_to_fit: true
|
||||
|
||||
shrink_to_fit: true
|
||||
@GUI::Label {
|
||||
text: "Offset"
|
||||
text_alignment: "CenterLeft"
|
||||
|
@ -45,16 +42,13 @@
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
@GUI::Widget {
|
||||
max_height: 24
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
margins: [4]
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
}
|
||||
@GUI::Widget
|
||||
|
||||
@GUI::Button {
|
||||
name: "ok_button"
|
||||
|
|
|
@ -1,15 +1,12 @@
|
|||
@GUI::Frame {
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
}
|
||||
layout: @GUI::VerticalBoxLayout
|
||||
|
||||
fill_with_background_color: true
|
||||
|
||||
@GUI::Widget {
|
||||
|
||||
layout:@GUI::HorizontalBoxLayout {
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
margins: [4]
|
||||
}
|
||||
|
||||
|
||||
@GUI::TreeView {
|
||||
name: "tree_view"
|
||||
fixed_width: 200
|
||||
|
@ -17,22 +14,20 @@
|
|||
|
||||
@GUI::Widget {
|
||||
name: "config_widget"
|
||||
|
||||
layout:@GUI::VerticalBoxLayout {
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
margins: [4]
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
max_height: 24
|
||||
|
||||
layout:@GUI::HorizontalBoxLayout {
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
margins: [4]
|
||||
}
|
||||
|
||||
@GUI::Widget {}
|
||||
@GUI::Widget
|
||||
|
||||
@GUI::Button {
|
||||
name: "apply_button"
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
@ -21,7 +19,6 @@
|
|||
|
||||
@GUI::ToolbarContainer {
|
||||
name: "toolbar_container"
|
||||
|
||||
@PixelPaint::ToolboxWidget {
|
||||
name: "toolbox"
|
||||
}
|
||||
|
@ -44,9 +41,7 @@
|
|||
@GUI::Widget {
|
||||
fill_with_background_color: true
|
||||
fixed_width: 200
|
||||
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
}
|
||||
layout: @GUI::VerticalBoxLayout
|
||||
|
||||
@GUI::GroupBox {
|
||||
title: "Layers"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue