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"

View file

@ -16,9 +16,9 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
fixed_height: 30
@GUI::TextBox {
name: "new_item_name"
placeholder: "Enter some text to be added..."

View file

@ -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 {}
}

View file

@ -15,5 +15,5 @@
}
// Spacer
@GUI::Widget
@GUI::Widget {}
}

View file

@ -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"

View file

@ -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"

View file

@ -14,7 +14,7 @@
text: "Start wizard"
}
@GUI::HorizontalSeparator
@GUI::HorizontalSeparator {}
@GUI::TextEditor {
name: "wizard_output"

View file

@ -16,9 +16,9 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
shrink_to_fit: true
@GUI::Label {
name: "line_and_col_label"
text: "Line: 1, Col: 0"

View file

@ -11,8 +11,7 @@
}
@GUI::Widget {
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
name: "icon_view_container"
}
@ -26,9 +25,9 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
max_height: 24
@GUI::Label {
text: "Name:"
text_alignment: "CenterLeft"
@ -41,9 +40,9 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
max_height: 24
@GUI::Label {
text: "Create in:"
text_alignment: "CenterLeft"
@ -63,9 +62,9 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
max_height: 24
@GUI::Label {
text: "Full path:"
text_alignment: "CenterLeft"
@ -84,10 +83,10 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
max_height: 24
@GUI::Widget
@GUI::Widget {}
@GUI::Button {
name: "ok_button"

View file

@ -1,9 +1,10 @@
@GUI::Widget {
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::ToolbarContainer {
@GUI::Toolbar {
name: "toolbar"
@GUI::Label {
text: "Columns: "
autosize: true
@ -16,7 +17,7 @@
fixed_width: 40
}
@GUI::VerticalSeparator
@GUI::VerticalSeparator {}
@GUI::Label {
text: "Rows: "
@ -30,7 +31,7 @@
fixed_width: 40
}
@GUI::VerticalSeparator
@GUI::VerticalSeparator {}
@GUI::Label {
text: "Update Speed: "
@ -49,7 +50,7 @@
autosize: true
}
@GUI::VerticalSeparator
@GUI::VerticalSeparator {}
}
}

View file

@ -1,6 +1,6 @@
@GUI::Widget {
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@Hearts::Game {
name: "game"

View file

@ -23,7 +23,7 @@
fixed_width: 40
}
@GUI::VerticalSeparator
@GUI::VerticalSeparator {}
@GUI::Label {
text: "Rows: "
@ -37,7 +37,7 @@
fixed_width: 40
}
@GUI::VerticalSeparator
@GUI::VerticalSeparator {}
@GUI::Label {
text: "Mines: "
@ -54,9 +54,9 @@
@GUI::Widget {
max_height: 24
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Widget
@GUI::Widget {}
@GUI::Button {
name: "ok_button"

View file

@ -1,6 +1,6 @@
@GUI::Widget {
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@Solitaire::Game {
name: "game"

View file

@ -1,6 +1,6 @@
@GUI::Widget {
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@Spider::Game {
name: "game"

View file

@ -34,11 +34,11 @@
}
@GUI::Widget {
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::Widget {
shrink_to_fit: true
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::TextBox {
name: "location_textbox"
@ -55,11 +55,11 @@
@GUI::Widget {
shrink_to_fit: true
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::Widget {
fixed_height: 22
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::TextBox {
name: "filename_textbox"
@ -78,9 +78,9 @@
@GUI::Widget {
fixed_height: 22
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Widget
@GUI::Widget {}
@GUI::Button {
name: "cancel_button"

View file

@ -5,10 +5,10 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Widget {
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::Label {
text: "Family:"
@ -23,7 +23,7 @@
@GUI::Widget {
fixed_width: 100
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::Label {
text: "Style:"
@ -38,7 +38,7 @@
@GUI::Widget {
fixed_width: 80
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::Label {
text: "Size:"
@ -57,10 +57,10 @@
}
@GUI::GroupBox {
layout: @GUI::VerticalBoxLayout
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."
@ -69,9 +69,9 @@
@GUI::Widget {
fixed_height: 22
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Widget
@GUI::Widget {}
@GUI::Button {
name: "ok_button"

View file

@ -7,7 +7,7 @@
@GUI::Widget {
shrink_to_fit: true
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::Label {
name: "key_icon_label"
@ -17,11 +17,11 @@
}
@GUI::Widget {
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::Widget {
fixed_height: 24
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
text: "Server:"
@ -38,7 +38,7 @@
@GUI::Widget {
fixed_height: 24
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
text: "Username:"
@ -55,7 +55,7 @@
@GUI::Widget {
fixed_height: 24
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
text: "Password:"
@ -68,7 +68,7 @@
}
}
@GUI::Widget
@GUI::Widget {}
@GUI::Widget {
shrink_to_fit: true
@ -76,7 +76,7 @@
spacing: 6
}
@GUI::Widget
@GUI::Widget {}
@GUI::Button {
text: "OK"

View file

@ -1,6 +1,6 @@
@GUI::Widget {
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout
layout: @GUI::VerticalBoxLayout {}
@GUI::ImageWidget {
name: "banner"
@ -23,9 +23,9 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
layout: @GUI::HorizontalBoxLayout {}
@GUI::Widget
@GUI::Widget {}
@GUI::Button {
name: "log_in"