mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02: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:
committed by
Andreas Kling
parent
32de6dde4c
commit
6ee597369d
Notes:
sideshowbarker
2024-07-18 04:38:32 +09:00
Author: https://github.com/kleinesfilmroellchen Commit: https://github.com/SerenityOS/serenity/commit/6ee597369d9 Pull-request: https://github.com/SerenityOS/serenity/pull/12281 Reviewed-by: https://github.com/ADKaster ✅ Reviewed-by: https://github.com/awesomekling Reviewed-by: https://github.com/linusg
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user