1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-08-07 19:47:35 +00:00

Userland: Run gml-format

This brings the existing GML files up to spec with the new requirements
This commit is contained in:
Idan Horowitz 2022-02-12 19:17:01 +02:00
parent 4c451422c3
commit c8ab45e79f
54 changed files with 259 additions and 253 deletions

View file

@ -1,7 +1,7 @@
@GUI::Widget {
name: "browser"
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::HorizontalSeparator {
name: "top_line"

View file

@ -8,7 +8,7 @@
@GUI::Widget {
fixed_height: 24
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
text: "Title:"
@ -23,7 +23,7 @@
@GUI::Widget {
fixed_height: 24
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
text: "URL:"
@ -38,9 +38,9 @@
@GUI::Widget {
fixed_height: 24
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Widget
@GUI::Widget {}
@GUI::Button {
name: "ok_button"

View file

@ -5,6 +5,7 @@
@GUI::ToolbarContainer {
name: "toolbar_container"
@GUI::Toolbar {
name: "toolbar"
}
@ -12,8 +13,7 @@
@GUI::Widget {
name: "webview_container"
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
}
@GUI::Statusbar {

View file

@ -112,8 +112,8 @@
layout: @GUI::HorizontalBoxLayout {
spacing: 16
}
name: "search_engine_combobox_group"
@GUI::Widget {
fixed_width: 32
}
@ -133,8 +133,8 @@
layout: @GUI::HorizontalBoxLayout {
spacing: 16
}
name: "custom_search_engine_group"
@GUI::Widget {
fixed_width: 32
}

View file

@ -2,10 +2,10 @@
fixed_width: 250
fixed_height: 215
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::Widget {
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::HorizontalSeparator {
fixed_height: 2
@ -22,7 +22,7 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
name: "label"
@ -60,7 +60,7 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Button {
name: "mem_clear_button"
@ -115,7 +115,7 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Button {
name: "mem_recall_button"
@ -170,7 +170,7 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Button {
name: "mem_save_button"
@ -225,7 +225,7 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Button {
name: "mem_add_button"

View file

@ -1,9 +1,10 @@
@GUI::Widget {
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::ToolbarContainer {
name: "toolbar_container"
@GUI::Toolbar {
name: "toolbar"
}

View file

@ -1,6 +1,6 @@
@GUI::Frame {
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::ToolbarContainer {
@GUI::Toolbar {
@ -8,8 +8,8 @@
spacing: 4
margins: [0, 0, 0, 4]
}
name: "toolbar"
@GUI::Label {
text: "Font: "
autosize: true
@ -19,7 +19,7 @@
background_role: "Base"
fill_with_background_color: true
fixed_height: 20
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::Label {
name: "font_name"

View file

@ -1,7 +1,7 @@
@GUI::Frame {
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
fill_with_background_color: true
@GUI::Toolbar {
@GUI::TextBox {
name: "search_input"

View file

@ -22,7 +22,7 @@
@GUI::Widget {
fixed_height: 18
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
text: "Executable path:"
@ -38,7 +38,7 @@
@GUI::Widget {
fixed_height: 18
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
text: "Coredump path:"
@ -54,7 +54,7 @@
@GUI::Widget {
fixed_height: 18
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
text: "Arguments:"
@ -80,7 +80,7 @@
@GUI::Widget {
fixed_height: 32
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Button {
name: "debug_button"
@ -89,7 +89,7 @@
}
// HACK: We need something like Layout::add_spacer() in GML! :^)
@GUI::Widget
@GUI::Widget {}
@GUI::Button {
name: "close_button"

View file

@ -32,7 +32,7 @@
@GUI::Widget {
shrink_to_fit: true
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::Button {
name: "wallpaper_open_button"

View file

@ -8,9 +8,9 @@
layout: @GUI::VerticalBoxLayout {
margins: [14, 14, 4]
}
title: "Workspaces"
shrink_to_fit: true
@GUI::Widget {
fixed_height: 32
layout: @GUI::HorizontalBoxLayout {
@ -44,7 +44,7 @@
@GUI::Widget {
fixed_height: 76
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
fixed_height: 32

View file

@ -20,7 +20,7 @@
@GUI::Frame {
background_role: "Base"
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::Label {
name: "default_font_label"
@ -49,7 +49,7 @@
@GUI::Frame {
background_role: "Base"
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::Label {
name: "fixed_width_font_label"
@ -63,5 +63,5 @@
}
}
@GUI::Widget
@GUI::Widget {}
}

View file

@ -35,11 +35,11 @@
layout: @GUI::VerticalBoxLayout {
margins: [14, 14, 4]
}
title: "Screen settings"
@GUI::Widget {
shrink_to_fit: true
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
text: "Resolution:"
@ -65,7 +65,7 @@
@GUI::Widget {
shrink_to_fit: true
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
text: "Display scale:"

View file

@ -6,6 +6,7 @@
@GUI::ToolbarContainer {
name: "toolbar_container"
@GUI::Toolbar {
name: "main_toolbar"
}
@ -13,6 +14,7 @@
@GUI::Toolbar {
name: "location_toolbar"
visible: false
@GUI::Label {
text: "Location: "
autosize: true
@ -26,6 +28,7 @@
@GUI::Toolbar {
name: "breadcrumb_toolbar"
@GUI::Label {
text: "Location: "
autosize: true
@ -40,6 +43,7 @@
@GUI::HorizontalSplitter {
name: "splitter"
first_resizee_minimum_size: 80
@GUI::TreeView {
name: "tree_view"
fixed_width: 175
@ -48,6 +52,7 @@
@GUI::Statusbar {
name: "statusbar"
@GUI::Progressbar {
name: "progressbar"
text: "Generating thumbnails: "

View file

@ -6,7 +6,7 @@
@GUI::Widget {
fixed_height: 32
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::ImageWidget {
name: "source_folder_icon"
@ -35,7 +35,7 @@
@GUI::Widget {
fixed_height: 22
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
text: "Copying: "
@ -54,7 +54,7 @@
@GUI::Widget {
fixed_height: 22
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
text: "Time left: "
@ -82,9 +82,9 @@
@GUI::Widget {
shrink_to_fit: true
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Widget
@GUI::Widget {}
@GUI::Button {
text: "Cancel"

View file

@ -22,7 +22,7 @@
}
}
@GUI::HorizontalSeparator
@GUI::HorizontalSeparator {}
@GUI::Widget {
fixed_height: 14
@ -177,7 +177,7 @@
}
}
@GUI::HorizontalSeparator
@GUI::HorizontalSeparator {}
@GUI::Widget {
fixed_height: 14

View file

@ -6,27 +6,27 @@
@GUI::ToolbarContainer {
name: "toolbar_container"
@GUI::Toolbar {
name: "toolbar"
}
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Widget {
name: "left_column_container"
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::Widget {
name: "glyph_editor_container"
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
}
@GUI::Widget {
shrink_to_fit: true
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::SpinBox {
name: "glyph_editor_width_spinbox"
@ -41,6 +41,7 @@
@GUI::ToolbarContainer {
name: "glyph_toolbar_container"
@GUI::Toolbar {
name: "glyph_mode_toolbar"
}
@ -59,8 +60,7 @@
@GUI::Widget {
name: "glyph_map_container"
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
}
@GUI::GroupBox {
@ -73,7 +73,7 @@
@GUI::Widget {
fixed_height: 22
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
name: "name_label"
@ -89,7 +89,7 @@
@GUI::Widget {
fixed_height: 22
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
name: "family_label"
@ -105,7 +105,7 @@
@GUI::Widget {
fixed_height: 22
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
name: "weight_label"
@ -122,7 +122,7 @@
@GUI::Widget {
fixed_height: 22
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
name: "slope_label"
@ -139,7 +139,7 @@
@GUI::Widget {
fixed_height: 22
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
name: "presentation_label"
@ -157,7 +157,7 @@
@GUI::Widget {
fixed_height: 22
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
name: "mean_line_label"
@ -174,7 +174,7 @@
@GUI::Widget {
fixed_height: 22
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
name: "baseline_label"
@ -191,7 +191,7 @@
@GUI::Widget {
fixed_height: 22
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
name: "spacing_label"

View file

@ -5,10 +5,10 @@
@GUI::Widget {
fixed_height: 160
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
fixed_width: 100
@ -22,7 +22,7 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
fixed_width: 100
@ -40,7 +40,7 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
text: "Weight:"
@ -56,7 +56,7 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
fixed_width: 100
@ -72,7 +72,7 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
fixed_width: 100

View file

@ -4,7 +4,7 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::GroupBox {
title: "Metadata"
@ -14,7 +14,7 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
fixed_width: 80
@ -29,7 +29,7 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
fixed_width: 80
@ -44,7 +44,7 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
fixed_width: 80
@ -59,7 +59,7 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
fixed_width: 80
@ -78,7 +78,7 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
fixed_width: 80
@ -95,7 +95,7 @@
@GUI::Widget {
fixed_height: 22
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Widget {
fixed_width: 80
@ -110,19 +110,18 @@
}
@GUI::Widget {
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::Widget
@GUI::Widget {}
@GUI::Widget {
name: "glyph_editor_container"
layout: @GUI::VerticalBoxLayout {
margins: [5, 0, 0]
}
}
@GUI::Widget
@GUI::Widget {}
}
}
}

View file

@ -9,9 +9,9 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
fixed_height: 22
@GUI::Label {
text: "Value to find"
fixed_width: 80
@ -24,15 +24,14 @@
}
@GUI::Widget {
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
name: "radio_container"
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
fixed_height: 22
@GUI::Button {
name: "find_button"
text: "Find"

View file

@ -7,6 +7,7 @@
@GUI::ToolbarContainer {
name: "toolbar_container"
@GUI::Toolbar {
name: "toolbar"
}
@ -20,7 +21,7 @@
@GUI::Widget {
name: "search_results_container"
visible: false
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::TableView {
name: "search_results"

View file

@ -15,7 +15,7 @@
@GUI::Widget {
fixed_width: 32
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::Label {
fixed_width: 32
@ -62,7 +62,7 @@
@GUI::Widget {
fixed_width: 32
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::Label {
fixed_width: 32

View file

@ -10,9 +10,9 @@
@GUI::Widget {
fixed_height: 24
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Widget
@GUI::Widget {}
@GUI::Button {
name: "ok_button"

View file

@ -101,7 +101,7 @@
fixed_width: 100
}
@GUI::Widget
@GUI::Widget {}
}
}

View file

@ -1,6 +1,6 @@
@GUI::Frame {
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::Widget {
layout: @GUI::VerticalBoxLayout {
@ -30,8 +30,8 @@
layout: @GUI::HorizontalBoxLayout {
margins: [4]
}
shrink_to_fit: true
@GUI::Label {
text: "Offset"
text_alignment: "CenterLeft"
@ -48,7 +48,7 @@
margins: [4]
}
@GUI::Widget
@GUI::Widget {}
@GUI::Button {
name: "ok_button"

View file

@ -1,7 +1,7 @@
@GUI::Frame {
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
fill_with_background_color: true
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout {
margins: [4]
@ -22,7 +22,6 @@
layout: @GUI::VerticalBoxLayout {
margins: [4]
}
}
@GUI::GroupBox {
@ -44,7 +43,7 @@
margins: [4]
}
@GUI::Widget
@GUI::Widget {}
@GUI::Button {
name: "apply_button"

View file

@ -7,6 +7,7 @@
@GUI::ToolbarContainer {
name: "toolbar_container"
@GUI::Toolbar {
name: "toolbar"
}
@ -19,6 +20,7 @@
@GUI::ToolbarContainer {
name: "toolbar_container"
@PixelPaint::ToolboxWidget {
name: "toolbox"
}
@ -41,7 +43,7 @@
@GUI::Widget {
fill_with_background_color: true
fixed_width: 200
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::GroupBox {
title: "Layers"

View file

@ -38,11 +38,11 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
fixed_height: 22
// HACK: using an empty widget as a spacer
@GUI::Widget
@GUI::Widget {}
@GUI::Button {
name: "ok_button"

View file

@ -16,7 +16,7 @@
spacing: 10
}
@GUI::Widget
@GUI::Widget {}
@GUI::Button {
name: "add_button"
@ -30,6 +30,6 @@
fixed_width: 70
}
@GUI::Widget
@GUI::Widget {}
}
}

View file

@ -1,9 +1,9 @@
@GUI::Widget {
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::Widget {
shrink_to_fit: true
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
text: "if..."
@ -20,7 +20,7 @@
@GUI::Widget {
shrink_to_fit: true
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
text: "Foreground..."
@ -34,7 +34,7 @@
@GUI::Widget {
shrink_to_fit: true
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
text: "Background..."

View file

@ -6,10 +6,10 @@
@GUI::HorizontalSplitter {
@GUI::Widget {
name: "csv_options"
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::GroupBox {
title: "Delimiter"
@ -43,7 +43,7 @@
@GUI::Widget {
fixed_height: 25
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::RadioButton {
name: "delimiter_other_radio"
@ -78,7 +78,7 @@
@GUI::Widget {
fixed_height: 25
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::RadioButton {
name: "quote_other_radio"
@ -92,11 +92,11 @@
}
}
@GUI::Widget
@GUI::Widget {}
@GUI::Widget {
fixed_height: 25
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
text: "Escape by "
@ -109,13 +109,13 @@
}
}
@GUI::Widget
@GUI::Widget {}
}
}
@GUI::Widget {
fixed_height: 25
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::CheckBox {
name: "export_header_check_box"

View file

@ -6,10 +6,10 @@
@GUI::HorizontalSplitter {
@GUI::Widget {
name: "csv_options"
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::GroupBox {
title: "Delimiter"
@ -43,7 +43,7 @@
@GUI::Widget {
fixed_height: 25
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::RadioButton {
name: "delimiter_other_radio"
@ -78,7 +78,7 @@
@GUI::Widget {
fixed_height: 25
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::RadioButton {
name: "quote_other_radio"
@ -92,11 +92,11 @@
}
}
@GUI::Widget
@GUI::Widget {}
@GUI::Widget {
fixed_height: 25
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
text: "Escape by "
@ -109,7 +109,7 @@
}
}
@GUI::Widget
@GUI::Widget {}
}
}
@ -121,7 +121,7 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::CheckBox {
name: "trim_leading_field_spaces_check_box"
@ -151,6 +151,7 @@
@GUI::StackWidget {
name: "data_preview_widget"
@GUI::TableView {
name: "data_preview_table_view"
}

View file

@ -12,7 +12,7 @@
@GUI::Widget {
fixed_height: 25
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
text: "Type: "
@ -25,5 +25,5 @@
}
}
@GUI::Widget
@GUI::Widget {}
}

View file

@ -44,7 +44,7 @@
@GUI::Frame {
background_role: "Base"
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::Label {
name: "terminal_font_label"

View file

@ -7,6 +7,7 @@
@GUI::ToolbarContainer {
name: "toolbar_container"
@GUI::Toolbar {
name: "toolbar"
}
@ -20,8 +21,7 @@
@GUI::Widget {
name: "web_view_container"
visible: false
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
}
}

View file

@ -1,10 +1,9 @@
@GUI::Widget {
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
fill_with_background_color: true
@GUI::Frame {
layout: @GUI::HorizontalBoxLayout
@GUI::Frame {
layout: @GUI::HorizontalBoxLayout {}
name: "preview_frame"
}
@ -12,9 +11,9 @@
layout: @GUI::HorizontalBoxLayout {
margins: [4, 4, 4, 4]
}
shrink_to_fit: true
title: "Colors"
@GUI::ComboBox {
name: "color_combo_box"
model_only: true
@ -30,9 +29,9 @@
layout: @GUI::HorizontalBoxLayout {
margins: [4, 4, 4, 4]
}
shrink_to_fit: true
title: "Alignments"
@GUI::ComboBox {
name: "alignment_combo_box"
model_only: true
@ -48,16 +47,16 @@
layout: @GUI::HorizontalBoxLayout {
margins: [4, 4, 4, 4]
}
shrink_to_fit: true
title: "Flags"
@GUI::ComboBox {
name: "flag_combo_box"
model_only: true
fixed_width: 230
}
@GUI::Widget
@GUI::Widget {}
@GUI::CheckBox {
name: "flag_input"
@ -69,9 +68,9 @@
layout: @GUI::HorizontalBoxLayout {
margins: [4, 4, 4, 4]
}
shrink_to_fit: true
title: "Metrics"
@GUI::ComboBox {
name: "metric_combo_box"
model_only: true
@ -87,9 +86,9 @@
layout: @GUI::HorizontalBoxLayout {
margins: [4, 4, 4, 4]
}
shrink_to_fit: true
title: "Paths"
@GUI::ComboBox {
name: "path_combo_box"
model_only: true

View file

@ -10,7 +10,7 @@
@GUI::Widget {
min_height: 160
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Frame {
name: "tip_frame"
@ -22,18 +22,18 @@
@GUI::Widget {
fixed_width: 60
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::Label {
name: "light_bulb_label"
fixed_height: 60
}
@GUI::Widget
@GUI::Widget {}
}
@GUI::Widget {
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::Label {
fixed_height: 60
@ -68,7 +68,7 @@
name: "navigation_column"
fixed_width: 115
min_height: 160
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::Button {
name: "new_button"
@ -85,7 +85,7 @@
text: "Next Tip"
}
@GUI::Widget
@GUI::Widget {}
@GUI::HorizontalSeparator {
fixed_height: 2
@ -99,7 +99,7 @@
@GUI::Widget {
fixed_height: 24
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::CheckBox {
name: "startup_checkbox"
@ -107,7 +107,7 @@
autosize: true
}
@GUI::Widget
@GUI::Widget {}
@GUI::Button {
name: "close_button"