mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 13:15:06 +00:00

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.
88 lines
1.8 KiB
Text
88 lines
1.8 KiB
Text
@GUI::Widget {
|
|
fill_with_background_color: true
|
|
layout: @GUI::VerticalBoxLayout {
|
|
margins: [4, 4, 4, 4]
|
|
}
|
|
|
|
@GUI::Widget {
|
|
layout: @GUI::HorizontalBoxLayout
|
|
|
|
@GUI::Widget {
|
|
layout: @GUI::VerticalBoxLayout
|
|
|
|
@GUI::Label {
|
|
text: "Family:"
|
|
text_alignment: "CenterLeft"
|
|
fixed_height: 16
|
|
}
|
|
|
|
@GUI::ListView {
|
|
name: "family_list_view"
|
|
}
|
|
}
|
|
|
|
@GUI::Widget {
|
|
fixed_width: 100
|
|
layout: @GUI::VerticalBoxLayout
|
|
|
|
@GUI::Label {
|
|
text: "Style:"
|
|
text_alignment: "CenterLeft"
|
|
fixed_height: 16
|
|
}
|
|
|
|
@GUI::ListView {
|
|
name: "variant_list_view"
|
|
}
|
|
}
|
|
|
|
@GUI::Widget {
|
|
fixed_width: 80
|
|
layout: @GUI::VerticalBoxLayout
|
|
|
|
@GUI::Label {
|
|
text: "Size:"
|
|
text_alignment: "CenterLeft"
|
|
fixed_height: 16
|
|
}
|
|
|
|
@GUI::SpinBox {
|
|
name: "size_spin_box"
|
|
}
|
|
|
|
@GUI::ListView {
|
|
name: "size_list_view"
|
|
}
|
|
}
|
|
}
|
|
|
|
@GUI::GroupBox {
|
|
layout: @GUI::VerticalBoxLayout
|
|
|
|
title: "Sample text"
|
|
fixed_height: 80
|
|
@GUI::Label {
|
|
name: "sample_text_label"
|
|
text: "The quick brown fox jumps over the lazy dog."
|
|
}
|
|
}
|
|
|
|
@GUI::Widget {
|
|
fixed_height: 22
|
|
layout: @GUI::HorizontalBoxLayout
|
|
|
|
@GUI::Widget
|
|
|
|
@GUI::Button {
|
|
name: "ok_button"
|
|
text: "OK"
|
|
fixed_width: 80
|
|
}
|
|
|
|
@GUI::Button {
|
|
name: "cancel_button"
|
|
text: "Cancel"
|
|
fixed_width: 80
|
|
}
|
|
}
|
|
}
|