1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 20:07:36 +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 { @GUI::Widget {
name: "browser" name: "browser"
fill_with_background_color: true fill_with_background_color: true
layout: @GUI::VerticalBoxLayout layout: @GUI::VerticalBoxLayout {}
@GUI::HorizontalSeparator { @GUI::HorizontalSeparator {
name: "top_line" name: "top_line"

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -11,7 +11,7 @@
@GUI::Widget { @GUI::Widget {
fixed_height: 25 fixed_height: 25
layout: @GUI::HorizontalBoxLayout layout: @GUI::HorizontalBoxLayout {}
@GUI::Label { @GUI::Label {
text: "Location: " text: "Location: "
@ -29,5 +29,5 @@
} }
// Spacer // Spacer
@GUI::Widget @GUI::Widget {}
} }

View file

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

View file

@ -11,7 +11,7 @@
} }
@GUI::HorizontalSplitter { @GUI::HorizontalSplitter {
layout: @GUI::HorizontalBoxLayout layout: @GUI::HorizontalBoxLayout {}
@GUI::Frame { @GUI::Frame {
name: "label_frame" name: "label_frame"
@ -48,11 +48,11 @@
} }
} }
@GUI::HorizontalSeparator @GUI::HorizontalSeparator {}
@GUI::Widget { @GUI::Widget {
fixed_height: 22 fixed_height: 22
layout: @GUI::HorizontalBoxLayout layout: @GUI::HorizontalBoxLayout {}
@GUI::ComboBox { @GUI::ComboBox {
name: "frame_shape_combobox" name: "frame_shape_combobox"
@ -64,7 +64,7 @@
enabled: false enabled: false
} }
@GUI::VerticalSeparator @GUI::VerticalSeparator {}
@GUI::SpinBox { @GUI::SpinBox {
name: "thickness_spinbox" name: "thickness_spinbox"
@ -85,12 +85,12 @@
} }
@GUI::Widget { @GUI::Widget {
layout: @GUI::HorizontalBoxLayout layout: @GUI::HorizontalBoxLayout {}
@GUI::Widget { @GUI::Widget {
layout: @GUI::VerticalBoxLayout layout: @GUI::VerticalBoxLayout {}
@GUI::Widget @GUI::Widget {}
@GUI::Button { @GUI::Button {
name: "normal_button" name: "normal_button"
@ -103,15 +103,15 @@
enabled: "false" enabled: "false"
} }
@GUI::Widget @GUI::Widget {}
} }
@GUI::VerticalSeparator @GUI::VerticalSeparator {}
@GUI::Widget { @GUI::Widget {
layout: @GUI::VerticalBoxLayout layout: @GUI::VerticalBoxLayout {}
@GUI::Widget @GUI::Widget {}
@GUI::Button { @GUI::Button {
name: "enabled_coolbar_button" name: "enabled_coolbar_button"
@ -126,23 +126,23 @@
button_style: "Coolbar" button_style: "Coolbar"
} }
@GUI::Widget @GUI::Widget {}
} }
} }
@GUI::HorizontalSeparator @GUI::HorizontalSeparator {}
@GUI::Widget { @GUI::Widget {
layout: @GUI::HorizontalBoxLayout layout: @GUI::HorizontalBoxLayout {}
@GUI::Widget { @GUI::Widget {
layout: @GUI::HorizontalBoxLayout layout: @GUI::HorizontalBoxLayout {}
@GUI::Widget { @GUI::Widget {
fixed_width: 60 fixed_width: 60
layout: @GUI::VerticalBoxLayout layout: @GUI::VerticalBoxLayout {}
@GUI::Widget @GUI::Widget {}
@GUI::RadioButton { @GUI::RadioButton {
name: "top_radiobutton" name: "top_radiobutton"
@ -155,16 +155,16 @@
text: "Radio 2" text: "Radio 2"
} }
@GUI::Widget @GUI::Widget {}
} }
@GUI::Widget @GUI::Widget {}
@GUI::Widget { @GUI::Widget {
fixed_width: 70 fixed_width: 70
layout: @GUI::VerticalBoxLayout layout: @GUI::VerticalBoxLayout {}
@GUI::Widget @GUI::Widget {}
@GUI::CheckBox { @GUI::CheckBox {
name: "top_checkbox" name: "top_checkbox"
@ -177,18 +177,18 @@
enabled: false enabled: false
} }
@GUI::Widget @GUI::Widget {}
} }
@GUI::Widget @GUI::Widget {}
} }
@GUI::VerticalSeparator @GUI::VerticalSeparator {}
@GUI::Widget { @GUI::Widget {
layout: @GUI::VerticalBoxLayout layout: @GUI::VerticalBoxLayout {}
@GUI::Widget @GUI::Widget {}
@GUI::Button { @GUI::Button {
name: "icon_button" name: "icon_button"
@ -201,7 +201,7 @@
enabled: "false" enabled: "false"
} }
@GUI::Widget @GUI::Widget {}
} }
} }
} }
@ -213,10 +213,10 @@
@GUI::Widget { @GUI::Widget {
fixed_height: 47 fixed_height: 47
layout: @GUI::HorizontalBoxLayout layout: @GUI::HorizontalBoxLayout {}
@GUI::Widget { @GUI::Widget {
layout: @GUI::VerticalBoxLayout layout: @GUI::VerticalBoxLayout {}
@GUI::TextBox { @GUI::TextBox {
placeholder: "Text box" placeholder: "Text box"
@ -229,10 +229,10 @@
} }
} }
@GUI::VerticalSeparator @GUI::VerticalSeparator {}
@GUI::Widget { @GUI::Widget {
layout: @GUI::VerticalBoxLayout layout: @GUI::VerticalBoxLayout {}
@GUI::TextBox { @GUI::TextBox {
text: "Read only" text: "Read only"
@ -246,24 +246,24 @@
} }
} }
@GUI::HorizontalSeparator @GUI::HorizontalSeparator {}
@GUI::Widget { @GUI::Widget {
layout: @GUI::HorizontalBoxLayout layout: @GUI::HorizontalBoxLayout {}
@GUI::TextEditor { @GUI::TextEditor {
name: "text_editor" name: "text_editor"
placeholder: "Text editor" placeholder: "Text editor"
} }
@GUI::VerticalSeparator @GUI::VerticalSeparator {}
@GUI::Widget { @GUI::Widget {
layout: @GUI::VerticalBoxLayout layout: @GUI::VerticalBoxLayout {}
@GUI::Widget { @GUI::Widget {
fixed_height: 22 fixed_height: 22
layout: @GUI::HorizontalBoxLayout layout: @GUI::HorizontalBoxLayout {}
@GUI::ColorInput { @GUI::ColorInput {
name: "font_colorinput" name: "font_colorinput"
@ -276,7 +276,7 @@
} }
} }
@GUI::Widget @GUI::Widget {}
@GUI::Button { @GUI::Button {
name: "font_button" name: "font_button"
@ -293,18 +293,18 @@
text: "Input dialog..." text: "Input dialog..."
} }
@GUI::Widget @GUI::Widget {}
} }
} }
@GUI::HorizontalSeparator @GUI::HorizontalSeparator {}
@GUI::Widget { @GUI::Widget {
fixed_height: 22 fixed_height: 22
layout: @GUI::HorizontalBoxLayout layout: @GUI::HorizontalBoxLayout {}
@GUI::Widget { @GUI::Widget {
layout: @GUI::HorizontalBoxLayout layout: @GUI::HorizontalBoxLayout {}
@GUI::ComboBox { @GUI::ComboBox {
name: "msgbox_icon_combobox" name: "msgbox_icon_combobox"
@ -317,10 +317,10 @@
} }
} }
@GUI::VerticalSeparator @GUI::VerticalSeparator {}
@GUI::Widget { @GUI::Widget {
layout: @GUI::HorizontalBoxLayout layout: @GUI::HorizontalBoxLayout {}
@GUI::Button { @GUI::Button {
name: "msgbox_button" name: "msgbox_button"

View file

@ -21,7 +21,7 @@
tooltip: "Opacity Slider" tooltip: "Opacity Slider"
} }
@GUI::VerticalSeparator @GUI::VerticalSeparator {}
@GUI::ValueSlider { @GUI::ValueSlider {
name: "opacity_value_slider" name: "opacity_value_slider"
@ -32,7 +32,7 @@
} }
} }
@GUI::HorizontalSeparator @GUI::HorizontalSeparator {}
@GUI::Frame { @GUI::Frame {
shape: "Panel" shape: "Panel"
@ -56,7 +56,7 @@
margins: [0, 8] margins: [0, 8]
} }
@GUI::Widget @GUI::Widget {}
@GUI::Scrollbar { @GUI::Scrollbar {
name: "enabled_scrollbar" name: "enabled_scrollbar"
@ -67,11 +67,11 @@
value: 50 value: 50
} }
@GUI::Widget @GUI::Widget {}
@GUI::HorizontalSeparator @GUI::HorizontalSeparator {}
@GUI::Widget @GUI::Widget {}
@GUI::Scrollbar { @GUI::Scrollbar {
name: "disabled_scrollbar" name: "disabled_scrollbar"
@ -79,7 +79,7 @@
fixed_width: -1 fixed_width: -1
} }
@GUI::Widget @GUI::Widget {}
} }
@GUI::GroupBox { @GUI::GroupBox {
@ -101,7 +101,7 @@
tooltip: "Fixed" tooltip: "Fixed"
} }
@GUI::VerticalSeparator @GUI::VerticalSeparator {}
@GUI::VerticalSlider { @GUI::VerticalSlider {
enabled: false enabled: false
@ -111,7 +111,7 @@
value: 5 value: 5
} }
@GUI::VerticalSeparator @GUI::VerticalSeparator {}
@GUI::VerticalProgressbar { @GUI::VerticalProgressbar {
name: "vertical_progressbar_right" name: "vertical_progressbar_right"
@ -134,7 +134,7 @@
} }
@GUI::Widget { @GUI::Widget {
layout: @GUI::HorizontalBoxLayout layout: @GUI::HorizontalBoxLayout {}
@GUI::HorizontalSlider { @GUI::HorizontalSlider {
name: "horizontal_slider_left" name: "horizontal_slider_left"
@ -144,7 +144,7 @@
value: 0 value: 0
} }
@GUI::VerticalSeparator @GUI::VerticalSeparator {}
@GUI::HorizontalSlider { @GUI::HorizontalSlider {
enabled: false enabled: false
@ -153,7 +153,7 @@
value: 5 value: 5
} }
@GUI::VerticalSeparator @GUI::VerticalSeparator {}
@GUI::HorizontalSlider { @GUI::HorizontalSlider {
name: "horizontal_slider_right" name: "horizontal_slider_right"
@ -164,7 +164,7 @@
} }
} }
@GUI::HorizontalSeparator @GUI::HorizontalSeparator {}
@GUI::HorizontalProgressbar { @GUI::HorizontalProgressbar {
name: "horizontal_progressbar" name: "horizontal_progressbar"

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -5,10 +5,10 @@
} }
@GUI::Widget { @GUI::Widget {
layout: @GUI::HorizontalBoxLayout layout: @GUI::HorizontalBoxLayout {}
@GUI::Widget { @GUI::Widget {
layout: @GUI::VerticalBoxLayout layout: @GUI::VerticalBoxLayout {}
@GUI::Label { @GUI::Label {
text: "Family:" text: "Family:"
@ -23,7 +23,7 @@
@GUI::Widget { @GUI::Widget {
fixed_width: 100 fixed_width: 100
layout: @GUI::VerticalBoxLayout layout: @GUI::VerticalBoxLayout {}
@GUI::Label { @GUI::Label {
text: "Style:" text: "Style:"
@ -38,7 +38,7 @@
@GUI::Widget { @GUI::Widget {
fixed_width: 80 fixed_width: 80
layout: @GUI::VerticalBoxLayout layout: @GUI::VerticalBoxLayout {}
@GUI::Label { @GUI::Label {
text: "Size:" text: "Size:"
@ -57,10 +57,10 @@
} }
@GUI::GroupBox { @GUI::GroupBox {
layout: @GUI::VerticalBoxLayout layout: @GUI::VerticalBoxLayout {}
title: "Sample text" title: "Sample text"
fixed_height: 80 fixed_height: 80
@GUI::Label { @GUI::Label {
name: "sample_text_label" name: "sample_text_label"
text: "The quick brown fox jumps over the lazy dog." text: "The quick brown fox jumps over the lazy dog."
@ -69,9 +69,9 @@
@GUI::Widget { @GUI::Widget {
fixed_height: 22 fixed_height: 22
layout: @GUI::HorizontalBoxLayout layout: @GUI::HorizontalBoxLayout {}
@GUI::Widget @GUI::Widget {}
@GUI::Button { @GUI::Button {
name: "ok_button" name: "ok_button"

View file

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

View file

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