diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2022-02-12 19:17:01 +0200 |
---|---|---|
committer | Idan Horowitz <idan.horowitz@gmail.com> | 2022-02-13 02:36:35 +0200 |
commit | c8ab45e79fd5845402c6aaf69890e103036e16ef (patch) | |
tree | 6a28508d9d953345d80eb6d4f99cc6f40628bc27 /Userland/Demos/WidgetGallery | |
parent | 4c451422c35b3c2044d3b005a7af32d18ce9b194 (diff) | |
download | serenity-c8ab45e79fd5845402c6aaf69890e103036e16ef.zip |
Userland: Run gml-format
This brings the existing GML files up to spec with the new requirements
Diffstat (limited to 'Userland/Demos/WidgetGallery')
5 files changed, 60 insertions, 60 deletions
diff --git a/Userland/Demos/WidgetGallery/DemoWizardPage1.gml b/Userland/Demos/WidgetGallery/DemoWizardPage1.gml index 644ae32d0e..39509577bb 100644 --- a/Userland/Demos/WidgetGallery/DemoWizardPage1.gml +++ b/Userland/Demos/WidgetGallery/DemoWizardPage1.gml @@ -11,7 +11,7 @@ @GUI::Widget { fixed_height: 25 - layout: @GUI::HorizontalBoxLayout + layout: @GUI::HorizontalBoxLayout {} @GUI::Label { text: "Location: " @@ -29,5 +29,5 @@ } // Spacer - @GUI::Widget + @GUI::Widget {} } diff --git a/Userland/Demos/WidgetGallery/DemoWizardPage2.gml b/Userland/Demos/WidgetGallery/DemoWizardPage2.gml index 6f6d6b7f25..fac8a0c278 100644 --- a/Userland/Demos/WidgetGallery/DemoWizardPage2.gml +++ b/Userland/Demos/WidgetGallery/DemoWizardPage2.gml @@ -15,5 +15,5 @@ } // Spacer - @GUI::Widget + @GUI::Widget {} } diff --git a/Userland/Demos/WidgetGallery/GalleryGML/BasicsTab.gml b/Userland/Demos/WidgetGallery/GalleryGML/BasicsTab.gml index 0a57c38d4c..3dbecab2dd 100644 --- a/Userland/Demos/WidgetGallery/GalleryGML/BasicsTab.gml +++ b/Userland/Demos/WidgetGallery/GalleryGML/BasicsTab.gml @@ -11,7 +11,7 @@ } @GUI::HorizontalSplitter { - layout: @GUI::HorizontalBoxLayout + layout: @GUI::HorizontalBoxLayout {} @GUI::Frame { name: "label_frame" @@ -48,11 +48,11 @@ } } - @GUI::HorizontalSeparator + @GUI::HorizontalSeparator {} @GUI::Widget { fixed_height: 22 - layout: @GUI::HorizontalBoxLayout + layout: @GUI::HorizontalBoxLayout {} @GUI::ComboBox { name: "frame_shape_combobox" @@ -64,7 +64,7 @@ enabled: false } - @GUI::VerticalSeparator + @GUI::VerticalSeparator {} @GUI::SpinBox { name: "thickness_spinbox" @@ -85,12 +85,12 @@ } @GUI::Widget { - layout: @GUI::HorizontalBoxLayout + layout: @GUI::HorizontalBoxLayout {} @GUI::Widget { - layout: @GUI::VerticalBoxLayout + layout: @GUI::VerticalBoxLayout {} - @GUI::Widget + @GUI::Widget {} @GUI::Button { name: "normal_button" @@ -103,15 +103,15 @@ enabled: "false" } - @GUI::Widget + @GUI::Widget {} } - @GUI::VerticalSeparator + @GUI::VerticalSeparator {} @GUI::Widget { - layout: @GUI::VerticalBoxLayout + layout: @GUI::VerticalBoxLayout {} - @GUI::Widget + @GUI::Widget {} @GUI::Button { name: "enabled_coolbar_button" @@ -126,23 +126,23 @@ button_style: "Coolbar" } - @GUI::Widget + @GUI::Widget {} } } - @GUI::HorizontalSeparator + @GUI::HorizontalSeparator {} @GUI::Widget { - layout: @GUI::HorizontalBoxLayout + layout: @GUI::HorizontalBoxLayout {} @GUI::Widget { - layout: @GUI::HorizontalBoxLayout + layout: @GUI::HorizontalBoxLayout {} @GUI::Widget { fixed_width: 60 - layout: @GUI::VerticalBoxLayout + layout: @GUI::VerticalBoxLayout {} - @GUI::Widget + @GUI::Widget {} @GUI::RadioButton { name: "top_radiobutton" @@ -155,16 +155,16 @@ text: "Radio 2" } - @GUI::Widget + @GUI::Widget {} } - @GUI::Widget + @GUI::Widget {} @GUI::Widget { fixed_width: 70 - layout: @GUI::VerticalBoxLayout + layout: @GUI::VerticalBoxLayout {} - @GUI::Widget + @GUI::Widget {} @GUI::CheckBox { name: "top_checkbox" @@ -177,18 +177,18 @@ enabled: false } - @GUI::Widget + @GUI::Widget {} } - @GUI::Widget + @GUI::Widget {} } - @GUI::VerticalSeparator + @GUI::VerticalSeparator {} @GUI::Widget { - layout: @GUI::VerticalBoxLayout + layout: @GUI::VerticalBoxLayout {} - @GUI::Widget + @GUI::Widget {} @GUI::Button { name: "icon_button" @@ -201,7 +201,7 @@ enabled: "false" } - @GUI::Widget + @GUI::Widget {} } } } @@ -213,10 +213,10 @@ @GUI::Widget { fixed_height: 47 - layout: @GUI::HorizontalBoxLayout + layout: @GUI::HorizontalBoxLayout {} @GUI::Widget { - layout: @GUI::VerticalBoxLayout + layout: @GUI::VerticalBoxLayout {} @GUI::TextBox { placeholder: "Text box" @@ -229,10 +229,10 @@ } } - @GUI::VerticalSeparator + @GUI::VerticalSeparator {} @GUI::Widget { - layout: @GUI::VerticalBoxLayout + layout: @GUI::VerticalBoxLayout {} @GUI::TextBox { text: "Read only" @@ -246,24 +246,24 @@ } } - @GUI::HorizontalSeparator + @GUI::HorizontalSeparator {} @GUI::Widget { - layout: @GUI::HorizontalBoxLayout + layout: @GUI::HorizontalBoxLayout {} @GUI::TextEditor { name: "text_editor" placeholder: "Text editor" } - @GUI::VerticalSeparator + @GUI::VerticalSeparator {} @GUI::Widget { - layout: @GUI::VerticalBoxLayout + layout: @GUI::VerticalBoxLayout {} @GUI::Widget { fixed_height: 22 - layout: @GUI::HorizontalBoxLayout + layout: @GUI::HorizontalBoxLayout {} @GUI::ColorInput { name: "font_colorinput" @@ -276,7 +276,7 @@ } } - @GUI::Widget + @GUI::Widget {} @GUI::Button { name: "font_button" @@ -293,18 +293,18 @@ text: "Input dialog..." } - @GUI::Widget + @GUI::Widget {} } } - @GUI::HorizontalSeparator + @GUI::HorizontalSeparator {} @GUI::Widget { fixed_height: 22 - layout: @GUI::HorizontalBoxLayout + layout: @GUI::HorizontalBoxLayout {} @GUI::Widget { - layout: @GUI::HorizontalBoxLayout + layout: @GUI::HorizontalBoxLayout {} @GUI::ComboBox { name: "msgbox_icon_combobox" @@ -317,10 +317,10 @@ } } - @GUI::VerticalSeparator + @GUI::VerticalSeparator {} @GUI::Widget { - layout: @GUI::HorizontalBoxLayout + layout: @GUI::HorizontalBoxLayout {} @GUI::Button { name: "msgbox_button" diff --git a/Userland/Demos/WidgetGallery/GalleryGML/SlidersTab.gml b/Userland/Demos/WidgetGallery/GalleryGML/SlidersTab.gml index d5d69683ac..790c89b06b 100644 --- a/Userland/Demos/WidgetGallery/GalleryGML/SlidersTab.gml +++ b/Userland/Demos/WidgetGallery/GalleryGML/SlidersTab.gml @@ -21,7 +21,7 @@ tooltip: "Opacity Slider" } - @GUI::VerticalSeparator + @GUI::VerticalSeparator {} @GUI::ValueSlider { name: "opacity_value_slider" @@ -32,7 +32,7 @@ } } - @GUI::HorizontalSeparator + @GUI::HorizontalSeparator {} @GUI::Frame { shape: "Panel" @@ -56,7 +56,7 @@ margins: [0, 8] } - @GUI::Widget + @GUI::Widget {} @GUI::Scrollbar { name: "enabled_scrollbar" @@ -67,11 +67,11 @@ value: 50 } - @GUI::Widget + @GUI::Widget {} - @GUI::HorizontalSeparator + @GUI::HorizontalSeparator {} - @GUI::Widget + @GUI::Widget {} @GUI::Scrollbar { name: "disabled_scrollbar" @@ -79,7 +79,7 @@ fixed_width: -1 } - @GUI::Widget + @GUI::Widget {} } @GUI::GroupBox { @@ -101,7 +101,7 @@ tooltip: "Fixed" } - @GUI::VerticalSeparator + @GUI::VerticalSeparator {} @GUI::VerticalSlider { enabled: false @@ -111,7 +111,7 @@ value: 5 } - @GUI::VerticalSeparator + @GUI::VerticalSeparator {} @GUI::VerticalProgressbar { name: "vertical_progressbar_right" @@ -134,7 +134,7 @@ } @GUI::Widget { - layout: @GUI::HorizontalBoxLayout + layout: @GUI::HorizontalBoxLayout {} @GUI::HorizontalSlider { name: "horizontal_slider_left" @@ -144,7 +144,7 @@ value: 0 } - @GUI::VerticalSeparator + @GUI::VerticalSeparator {} @GUI::HorizontalSlider { enabled: false @@ -153,7 +153,7 @@ value: 5 } - @GUI::VerticalSeparator + @GUI::VerticalSeparator {} @GUI::HorizontalSlider { name: "horizontal_slider_right" @@ -164,7 +164,7 @@ } } - @GUI::HorizontalSeparator + @GUI::HorizontalSeparator {} @GUI::HorizontalProgressbar { name: "horizontal_progressbar" diff --git a/Userland/Demos/WidgetGallery/GalleryGML/WizardsTab.gml b/Userland/Demos/WidgetGallery/GalleryGML/WizardsTab.gml index 2de94a28de..1cae22142f 100644 --- a/Userland/Demos/WidgetGallery/GalleryGML/WizardsTab.gml +++ b/Userland/Demos/WidgetGallery/GalleryGML/WizardsTab.gml @@ -14,7 +14,7 @@ text: "Start wizard" } - @GUI::HorizontalSeparator + @GUI::HorizontalSeparator {} @GUI::TextEditor { name: "wizard_output" |