mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03:00
6ee597369d
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.
63 lines
1.2 KiB
Plaintext
63 lines
1.2 KiB
Plaintext
@GUI::Widget {
|
|
name: "main"
|
|
fixed_width: 300
|
|
fixed_height: 80
|
|
fill_with_background_color: true
|
|
layout: @GUI::VerticalBoxLayout {
|
|
spacing: 2
|
|
margins: [0]
|
|
}
|
|
|
|
@GUI::Widget {
|
|
layout: @GUI::HorizontalBoxLayout {
|
|
spacing: 2
|
|
margins: [2]
|
|
}
|
|
|
|
@GUI::Label {
|
|
text: "Offset"
|
|
text_alignment: "CenterLeft"
|
|
fixed_width: 50
|
|
}
|
|
|
|
@GUI::TextBox {
|
|
name: "text_editor"
|
|
fixed_width: 100
|
|
}
|
|
|
|
@GUI::ComboBox {
|
|
name: "offset_type"
|
|
fixed_width: 100
|
|
}
|
|
|
|
@GUI::Button {
|
|
name: "go_button"
|
|
text: "Go"
|
|
fixed_width: 40
|
|
}
|
|
}
|
|
|
|
@GUI::Widget {
|
|
layout: @GUI::HorizontalBoxLayout {
|
|
spacing: 2
|
|
margins: [2]
|
|
}
|
|
|
|
@GUI::Label {
|
|
text: "From"
|
|
text_alignment: "CenterLeft"
|
|
fixed_width: 50
|
|
}
|
|
|
|
@GUI::ComboBox {
|
|
name: "offset_from"
|
|
fixed_width: 100
|
|
}
|
|
}
|
|
|
|
@GUI::Statusbar {
|
|
name: "statusbar"
|
|
label_count: 2
|
|
}
|
|
}
|