diff options
Diffstat (limited to 'Userland/Applications')
42 files changed, 109 insertions, 343 deletions
diff --git a/Userland/Applications/Browser/BrowserWindow.gml b/Userland/Applications/Browser/BrowserWindow.gml index d8360a9583..f02adc0630 100644 --- a/Userland/Applications/Browser/BrowserWindow.gml +++ b/Userland/Applications/Browser/BrowserWindow.gml @@ -1,7 +1,6 @@ @GUI::Widget { name: "browser" fill_with_background_color: true - layout: @GUI::VerticalBoxLayout @GUI::HorizontalSeparator { diff --git a/Userland/Applications/Browser/EditBookmark.gml b/Userland/Applications/Browser/EditBookmark.gml index 86134dfe8e..c6e41cc796 100644 --- a/Userland/Applications/Browser/EditBookmark.gml +++ b/Userland/Applications/Browser/EditBookmark.gml @@ -2,17 +2,13 @@ fixed_width: 260 fixed_height: 85 fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { margins: [4] } - @GUI::Widget { fixed_height: 24 - - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { text: "Title:" @@ -27,9 +23,7 @@ @GUI::Widget { fixed_height: 24 - - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { text: "URL:" @@ -42,15 +36,11 @@ } } - @GUI::Widget { fixed_height: 24 + layout: @GUI::HorizontalBoxLayout - layout: @GUI::HorizontalBoxLayout { - } - - @GUI::Widget { - } + @GUI::Widget @GUI::Button { name: "ok_button" diff --git a/Userland/Applications/Browser/Tab.gml b/Userland/Applications/Browser/Tab.gml index 5a11fcdc4e..d6c3ea135a 100644 --- a/Userland/Applications/Browser/Tab.gml +++ b/Userland/Applications/Browser/Tab.gml @@ -5,7 +5,6 @@ @GUI::ToolbarContainer { name: "toolbar_container" - @GUI::Toolbar { name: "toolbar" } @@ -13,8 +12,8 @@ @GUI::Widget { name: "webview_container" - layout: @GUI::VerticalBoxLayout { - } + layout: @GUI::VerticalBoxLayout + } @GUI::Statusbar { diff --git a/Userland/Applications/BrowserSettings/BrowserSettingsWidget.gml b/Userland/Applications/BrowserSettings/BrowserSettingsWidget.gml index 520dba6a8c..1583cdc5bf 100644 --- a/Userland/Applications/BrowserSettings/BrowserSettingsWidget.gml +++ b/Userland/Applications/BrowserSettings/BrowserSettingsWidget.gml @@ -1,6 +1,5 @@ @GUI::Frame { fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { margins: [10] spacing: 5 @@ -9,7 +8,6 @@ @GUI::GroupBox { title: "Homepage" fixed_height: 70 - layout: @GUI::VerticalBoxLayout { margins: [16, 8, 8] spacing: 2 @@ -42,7 +40,6 @@ @GUI::GroupBox { title: "Appearance" fixed_height: 104 - layout: @GUI::VerticalBoxLayout { margins: [16, 8, 8] spacing: 2 @@ -89,7 +86,6 @@ @GUI::GroupBox { title: "Search Engine" fixed_height: 140 - layout: @GUI::VerticalBoxLayout { margins: [16, 8, 8] spacing: 2 @@ -118,7 +114,6 @@ } name: "search_engine_combobox_group" - @GUI::Widget { fixed_width: 32 } @@ -140,7 +135,6 @@ } name: "custom_search_engine_group" - @GUI::Widget { fixed_width: 32 } @@ -161,7 +155,6 @@ @GUI::GroupBox { title: "Downloads" fixed_height: 70 - layout: @GUI::VerticalBoxLayout { margins: [16, 8, 8] spacing: 2 diff --git a/Userland/Applications/Calendar/CalendarWindow.gml b/Userland/Applications/Calendar/CalendarWindow.gml index f8feb0f3b3..b47d8ed320 100644 --- a/Userland/Applications/Calendar/CalendarWindow.gml +++ b/Userland/Applications/Calendar/CalendarWindow.gml @@ -1,11 +1,9 @@ @GUI::Widget { fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { - } + layout: @GUI::VerticalBoxLayout @GUI::ToolbarContainer { name: "toolbar_container" - @GUI::Toolbar { name: "toolbar" } diff --git a/Userland/Applications/CharacterMap/CharacterMapWindow.gml b/Userland/Applications/CharacterMap/CharacterMapWindow.gml index 0b4b211af1..7b7cc5de44 100644 --- a/Userland/Applications/CharacterMap/CharacterMapWindow.gml +++ b/Userland/Applications/CharacterMap/CharacterMapWindow.gml @@ -1,8 +1,6 @@ @GUI::Frame { fill_with_background_color: true - - layout: @GUI::VerticalBoxLayout { - } + layout: @GUI::VerticalBoxLayout @GUI::ToolbarContainer { @GUI::Toolbar { @@ -12,7 +10,6 @@ } name: "toolbar" - @GUI::Label { text: "Font: " autosize: true @@ -22,9 +19,7 @@ background_role: "Base" fill_with_background_color: true fixed_height: 20 - - layout: @GUI::VerticalBoxLayout { - } + layout: @GUI::VerticalBoxLayout @GUI::Label { name: "font_name" @@ -40,7 +35,6 @@ @GUI::Widget { shrink_to_fit: true - layout: @GUI::HorizontalBoxLayout { spacing: 4 margins: [0, 2, 0, 2] diff --git a/Userland/Applications/CharacterMap/CharacterSearchWindow.gml b/Userland/Applications/CharacterMap/CharacterSearchWindow.gml index 4024dca2ea..e8cb9c6510 100644 --- a/Userland/Applications/CharacterMap/CharacterSearchWindow.gml +++ b/Userland/Applications/CharacterMap/CharacterSearchWindow.gml @@ -1,13 +1,12 @@ @GUI::Frame { - layout: @GUI::VerticalBoxLayout { - } + layout: @GUI::VerticalBoxLayout fill_with_background_color: true - @GUI::Toolbar { @GUI::TextBox { name: "search_input" } + @GUI::Button { name: "search_button" icon: "/res/icons/16x16/find.png" diff --git a/Userland/Applications/ClockSettings/ClockSettingsWidget.gml b/Userland/Applications/ClockSettings/ClockSettingsWidget.gml index 1c4c5aa790..f0b10cd4a8 100644 --- a/Userland/Applications/ClockSettings/ClockSettingsWidget.gml +++ b/Userland/Applications/ClockSettings/ClockSettingsWidget.gml @@ -1,6 +1,5 @@ @GUI::Frame { fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { margins: [10] spacing: 5 @@ -8,7 +7,6 @@ @GUI::GroupBox { title: "Time Zone Settings" - layout: @GUI::VerticalBoxLayout { margins: [16, 8, 8] spacing: 16 diff --git a/Userland/Applications/CrashReporter/CrashReporterWindow.gml b/Userland/Applications/CrashReporter/CrashReporterWindow.gml index 529c390bda..79844b5fd5 100644 --- a/Userland/Applications/CrashReporter/CrashReporterWindow.gml +++ b/Userland/Applications/CrashReporter/CrashReporterWindow.gml @@ -1,13 +1,11 @@ @GUI::Widget { fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { margins: [5] } @GUI::Widget { fixed_height: 44 - layout: @GUI::HorizontalBoxLayout { spacing: 10 } @@ -24,7 +22,6 @@ @GUI::Widget { fixed_height: 18 - layout: @GUI::HorizontalBoxLayout @GUI::Label { @@ -41,7 +38,6 @@ @GUI::Widget { fixed_height: 18 - layout: @GUI::HorizontalBoxLayout @GUI::Label { @@ -58,7 +54,6 @@ @GUI::Widget { fixed_height: 18 - layout: @GUI::HorizontalBoxLayout @GUI::Label { @@ -85,7 +80,6 @@ @GUI::Widget { fixed_height: 32 - layout: @GUI::HorizontalBoxLayout @GUI::Button { diff --git a/Userland/Applications/DisplaySettings/BackgroundSettings.gml b/Userland/Applications/DisplaySettings/BackgroundSettings.gml index 8b06a18e3a..f7a179a0ec 100644 --- a/Userland/Applications/DisplaySettings/BackgroundSettings.gml +++ b/Userland/Applications/DisplaySettings/BackgroundSettings.gml @@ -1,6 +1,5 @@ @GUI::Widget { fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { margins: [8] } @@ -33,9 +32,7 @@ @GUI::Widget { shrink_to_fit: true - - layout: @GUI::VerticalBoxLayout { - } + layout: @GUI::VerticalBoxLayout @GUI::Button { name: "wallpaper_open_button" diff --git a/Userland/Applications/DisplaySettings/DesktopSettings.gml b/Userland/Applications/DisplaySettings/DesktopSettings.gml index 00983ae0ef..adc4be09a8 100644 --- a/Userland/Applications/DisplaySettings/DesktopSettings.gml +++ b/Userland/Applications/DisplaySettings/DesktopSettings.gml @@ -1,6 +1,5 @@ @GUI::Widget { fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { margins: [8] } @@ -12,10 +11,8 @@ title: "Workspaces" shrink_to_fit: true - @GUI::Widget { fixed_height: 32 - layout: @GUI::HorizontalBoxLayout { margins: [6] } @@ -47,9 +44,7 @@ @GUI::Widget { fixed_height: 76 - - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { fixed_height: 32 diff --git a/Userland/Applications/DisplaySettings/FontSettings.gml b/Userland/Applications/DisplaySettings/FontSettings.gml index 279012364e..a78178f2b1 100644 --- a/Userland/Applications/DisplaySettings/FontSettings.gml +++ b/Userland/Applications/DisplaySettings/FontSettings.gml @@ -1,6 +1,5 @@ @GUI::Widget { fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { margins: [8] spacing: 8 @@ -8,7 +7,6 @@ @GUI::Widget { shrink_to_fit: true - layout: @GUI::HorizontalBoxLayout { spacing: 6 } @@ -22,9 +20,7 @@ @GUI::Frame { background_role: "Base" fill_with_background_color: true - - layout: @GUI::VerticalBoxLayout { - } + layout: @GUI::VerticalBoxLayout @GUI::Label { name: "default_font_label" @@ -40,7 +36,6 @@ @GUI::Widget { shrink_to_fit: true - layout: @GUI::HorizontalBoxLayout { spacing: 6 } @@ -54,9 +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" @@ -70,6 +63,5 @@ } } - @GUI::Widget { - } + @GUI::Widget } diff --git a/Userland/Applications/DisplaySettings/MonitorSettings.gml b/Userland/Applications/DisplaySettings/MonitorSettings.gml index e03f842e19..7fd9fa4fe3 100644 --- a/Userland/Applications/DisplaySettings/MonitorSettings.gml +++ b/Userland/Applications/DisplaySettings/MonitorSettings.gml @@ -1,6 +1,5 @@ @GUI::Widget { fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { margins: [8] } @@ -38,12 +37,9 @@ } title: "Screen settings" - @GUI::Widget { shrink_to_fit: true - - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { text: "Resolution:" @@ -69,9 +65,7 @@ @GUI::Widget { shrink_to_fit: true - - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { text: "Display scale:" diff --git a/Userland/Applications/FileManager/FileManagerWindow.gml b/Userland/Applications/FileManager/FileManagerWindow.gml index b54beefc35..e613767644 100644 --- a/Userland/Applications/FileManager/FileManagerWindow.gml +++ b/Userland/Applications/FileManager/FileManagerWindow.gml @@ -9,10 +9,10 @@ @GUI::Toolbar { name: "main_toolbar" } + @GUI::Toolbar { name: "location_toolbar" visible: false - @GUI::Label { text: "Location: " autosize: true @@ -23,9 +23,9 @@ fixed_height: 22 } } + @GUI::Toolbar { name: "breadcrumb_toolbar" - @GUI::Label { text: "Location: " autosize: true @@ -40,17 +40,14 @@ @GUI::HorizontalSplitter { name: "splitter" first_resizee_minimum_size: 80 - @GUI::TreeView { name: "tree_view" fixed_width: 175 } - } @GUI::Statusbar { name: "statusbar" - @GUI::Progressbar { name: "progressbar" text: "Generating thumbnails: " diff --git a/Userland/Applications/FileManager/FileOperationProgress.gml b/Userland/Applications/FileManager/FileOperationProgress.gml index 77d0c3dc13..7a864bd08a 100644 --- a/Userland/Applications/FileManager/FileOperationProgress.gml +++ b/Userland/Applications/FileManager/FileOperationProgress.gml @@ -1,15 +1,12 @@ @GUI::Widget { fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { margins: [4] } @GUI::Widget { fixed_height: 32 - - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::ImageWidget { name: "source_folder_icon" @@ -38,9 +35,7 @@ @GUI::Widget { fixed_height: 22 - - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { text: "Copying: " @@ -59,9 +54,7 @@ @GUI::Widget { fixed_height: 22 - - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { text: "Time left: " @@ -89,11 +82,9 @@ @GUI::Widget { shrink_to_fit: true - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout - @GUI::Widget { - } + @GUI::Widget @GUI::Button { text: "Cancel" diff --git a/Userland/Applications/FileManager/PropertiesWindowGeneralTab.gml b/Userland/Applications/FileManager/PropertiesWindowGeneralTab.gml index cb03b22cf1..e10888a620 100644 --- a/Userland/Applications/FileManager/PropertiesWindowGeneralTab.gml +++ b/Userland/Applications/FileManager/PropertiesWindowGeneralTab.gml @@ -6,7 +6,6 @@ @GUI::Widget { fixed_height: 34 - layout: @GUI::HorizontalBoxLayout { spacing: 20 } @@ -23,12 +22,10 @@ } } - @GUI::HorizontalSeparator { - } + @GUI::HorizontalSeparator @GUI::Widget { fixed_height: 14 - layout: @GUI::HorizontalBoxLayout { spacing: 12 } @@ -48,7 +45,6 @@ @GUI::Widget { fixed_height: 14 - layout: @GUI::HorizontalBoxLayout { spacing: 12 } @@ -69,7 +65,6 @@ @GUI::Widget { name: "link_location_widget" fixed_height: 14 - layout: @GUI::HorizontalBoxLayout { spacing: 12 } @@ -89,7 +84,6 @@ @GUI::Widget { fixed_height: 14 - layout: @GUI::HorizontalBoxLayout { spacing: 12 } @@ -109,7 +103,6 @@ @GUI::Widget { fixed_height: 14 - layout: @GUI::HorizontalBoxLayout { spacing: 12 } @@ -129,7 +122,6 @@ @GUI::Widget { fixed_height: 14 - layout: @GUI::HorizontalBoxLayout { spacing: 12 } @@ -149,7 +141,6 @@ @GUI::Widget { fixed_height: 14 - layout: @GUI::HorizontalBoxLayout { spacing: 12 } @@ -169,7 +160,6 @@ @GUI::Widget { fixed_height: 14 - layout: @GUI::HorizontalBoxLayout { spacing: 12 } @@ -187,12 +177,10 @@ } } - @GUI::HorizontalSeparator { - } + @GUI::HorizontalSeparator @GUI::Widget { fixed_height: 14 - layout: @GUI::HorizontalBoxLayout { spacing: 12 } @@ -221,7 +209,6 @@ @GUI::Widget { fixed_height: 14 - layout: @GUI::HorizontalBoxLayout { spacing: 12 } @@ -250,7 +237,6 @@ @GUI::Widget { fixed_height: 14 - layout: @GUI::HorizontalBoxLayout { spacing: 12 } diff --git a/Userland/Applications/FontEditor/FontEditorWindow.gml b/Userland/Applications/FontEditor/FontEditorWindow.gml index 105f358684..fec2379770 100644 --- a/Userland/Applications/FontEditor/FontEditorWindow.gml +++ b/Userland/Applications/FontEditor/FontEditorWindow.gml @@ -1,40 +1,32 @@ @GUI::Widget { fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { spacing: 2 } @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" @@ -49,7 +41,6 @@ @GUI::ToolbarContainer { name: "glyph_toolbar_container" - @GUI::Toolbar { name: "glyph_mode_toolbar" } @@ -62,32 +53,27 @@ @GUI::Widget { name: "right_column_container" - layout: @GUI::VerticalBoxLayout { spacing: 6 } @GUI::Widget { name: "glyph_map_container" + layout: @GUI::VerticalBoxLayout - layout: @GUI::VerticalBoxLayout { - } } @GUI::GroupBox { name: "font_metadata_groupbox" title: "Metadata" shrink_to_fit: true - layout: @GUI::VerticalBoxLayout { margins: [6, 6, 6, 6] } @GUI::Widget { fixed_height: 22 - - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { name: "name_label" @@ -103,9 +89,7 @@ @GUI::Widget { fixed_height: 22 - - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { name: "family_label" @@ -121,9 +105,7 @@ @GUI::Widget { fixed_height: 22 - - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { name: "weight_label" @@ -140,9 +122,7 @@ @GUI::Widget { fixed_height: 22 - - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { name: "slope_label" @@ -159,9 +139,7 @@ @GUI::Widget { fixed_height: 22 - - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { name: "presentation_label" @@ -179,9 +157,7 @@ @GUI::Widget { fixed_height: 22 - - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { name: "mean_line_label" @@ -198,9 +174,7 @@ @GUI::Widget { fixed_height: 22 - - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { name: "baseline_label" @@ -217,9 +191,7 @@ @GUI::Widget { fixed_height: 22 - - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { name: "spacing_label" diff --git a/Userland/Applications/FontEditor/NewFontDialogPage1.gml b/Userland/Applications/FontEditor/NewFontDialogPage1.gml index d08c7f3531..5501dbe2d2 100644 --- a/Userland/Applications/FontEditor/NewFontDialogPage1.gml +++ b/Userland/Applications/FontEditor/NewFontDialogPage1.gml @@ -5,12 +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 @@ -24,8 +22,7 @@ } @GUI::Widget { - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { fixed_width: 100 @@ -43,8 +40,7 @@ } @GUI::Widget { - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { text: "Weight:" @@ -60,8 +56,7 @@ } @GUI::Widget { - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { fixed_width: 100 @@ -77,8 +72,7 @@ } @GUI::Widget { - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { fixed_width: 100 diff --git a/Userland/Applications/FontEditor/NewFontDialogPage2.gml b/Userland/Applications/FontEditor/NewFontDialogPage2.gml index abf3c04f67..5b2b9c0fbb 100644 --- a/Userland/Applications/FontEditor/NewFontDialogPage2.gml +++ b/Userland/Applications/FontEditor/NewFontDialogPage2.gml @@ -4,8 +4,7 @@ } @GUI::Widget { - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::GroupBox { title: "Metadata" @@ -15,8 +14,7 @@ } @GUI::Widget { - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { fixed_width: 80 @@ -31,8 +29,7 @@ } @GUI::Widget { - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { fixed_width: 80 @@ -47,8 +44,7 @@ } @GUI::Widget { - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { fixed_width: 80 @@ -63,8 +59,7 @@ } @GUI::Widget { - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { fixed_width: 80 @@ -83,8 +78,7 @@ } @GUI::Widget { - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { fixed_width: 80 @@ -101,8 +95,7 @@ @GUI::Widget { fixed_height: 22 - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Widget { fixed_width: 80 @@ -117,21 +110,19 @@ } @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 } } } diff --git a/Userland/Applications/HexEditor/FindDialog.gml b/Userland/Applications/HexEditor/FindDialog.gml index f3b9aac85f..5afcea8a24 100644 --- a/Userland/Applications/HexEditor/FindDialog.gml +++ b/Userland/Applications/HexEditor/FindDialog.gml @@ -3,7 +3,6 @@ fixed_width: 280 fixed_height: 146 fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { spacing: 2 margins: [4] @@ -11,8 +10,8 @@ @GUI::Widget { layout: @GUI::HorizontalBoxLayout - fixed_height: 22 + fixed_height: 22 @GUI::Label { text: "Value to find" fixed_width: 80 @@ -32,8 +31,8 @@ @GUI::Widget { layout: @GUI::HorizontalBoxLayout - fixed_height: 22 + fixed_height: 22 @GUI::Button { name: "find_button" text: "Find" diff --git a/Userland/Applications/HexEditor/GoToOffsetDialog.gml b/Userland/Applications/HexEditor/GoToOffsetDialog.gml index 1828e782e3..cfd7d9495f 100644 --- a/Userland/Applications/HexEditor/GoToOffsetDialog.gml +++ b/Userland/Applications/HexEditor/GoToOffsetDialog.gml @@ -3,7 +3,6 @@ fixed_width: 300 fixed_height: 80 fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { spacing: 2 margins: [0] diff --git a/Userland/Applications/HexEditor/HexEditorWindow.gml b/Userland/Applications/HexEditor/HexEditorWindow.gml index e51b8ea3ed..467ff0176a 100644 --- a/Userland/Applications/HexEditor/HexEditorWindow.gml +++ b/Userland/Applications/HexEditor/HexEditorWindow.gml @@ -1,14 +1,12 @@ @GUI::Widget { name: "main" fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { spacing: 2 } @GUI::ToolbarContainer { name: "toolbar_container" - @GUI::Toolbar { name: "toolbar" } @@ -22,9 +20,7 @@ @GUI::Widget { name: "search_results_container" visible: false - - layout: @GUI::VerticalBoxLayout { - } + layout: @GUI::VerticalBoxLayout @GUI::TableView { name: "search_results" diff --git a/Userland/Applications/KeyboardSettings/Keyboard.gml b/Userland/Applications/KeyboardSettings/Keyboard.gml index 261ce8513b..1437c98666 100644 --- a/Userland/Applications/KeyboardSettings/Keyboard.gml +++ b/Userland/Applications/KeyboardSettings/Keyboard.gml @@ -1,6 +1,5 @@ @GUI::Frame { fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { margins: [10] spacing: 5 @@ -9,7 +8,6 @@ @GUI::GroupBox { title: "Mapping" fixed_height: 150 - layout: @GUI::HorizontalBoxLayout { margins: [16, 8, 8] spacing: 16 @@ -17,8 +15,7 @@ @GUI::Widget { fixed_width: 32 - layout: @GUI::VerticalBoxLayout { - } + layout: @GUI::VerticalBoxLayout @GUI::Label { fixed_width: 32 @@ -38,7 +35,6 @@ @GUI::Widget { fixed_height: 24 - layout: @GUI::HorizontalBoxLayout { spacing: 4 } @@ -59,7 +55,6 @@ @GUI::GroupBox { title: "Test input" - layout: @GUI::HorizontalBoxLayout { margins: [16, 8, 8] spacing: 16 @@ -67,8 +62,7 @@ @GUI::Widget { fixed_width: 32 - layout: @GUI::VerticalBoxLayout { - } + layout: @GUI::VerticalBoxLayout @GUI::Label { fixed_width: 32 @@ -84,7 +78,6 @@ @GUI::Widget { fixed_height: 24 - layout: @GUI::HorizontalBoxLayout { spacing: 16 } @@ -110,7 +103,6 @@ @GUI::GroupBox { title: "Num Lock" fixed_height: 60 - layout: @GUI::HorizontalBoxLayout { margins: [16, 8, 8] spacing: 16 diff --git a/Userland/Applications/KeyboardSettings/KeymapDialog.gml b/Userland/Applications/KeyboardSettings/KeymapDialog.gml index 71e1efbe62..c1062d0fd2 100644 --- a/Userland/Applications/KeyboardSettings/KeymapDialog.gml +++ b/Userland/Applications/KeyboardSettings/KeymapDialog.gml @@ -1,6 +1,5 @@ @GUI::Widget { fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { margins: [4] } @@ -11,12 +10,9 @@ @GUI::Widget { fixed_height: 24 + layout: @GUI::HorizontalBoxLayout - layout: @GUI::HorizontalBoxLayout { - } - - @GUI::Widget { - } + @GUI::Widget @GUI::Button { name: "ok_button" diff --git a/Userland/Applications/Mail/MailWindow.gml b/Userland/Applications/Mail/MailWindow.gml index c6d8b47367..f011048732 100644 --- a/Userland/Applications/Mail/MailWindow.gml +++ b/Userland/Applications/Mail/MailWindow.gml @@ -1,6 +1,5 @@ @GUI::Widget { fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { spacing: 2 } diff --git a/Userland/Applications/MailSettings/MailSettingsWidget.gml b/Userland/Applications/MailSettings/MailSettingsWidget.gml index 4911756702..e20b384afd 100644 --- a/Userland/Applications/MailSettings/MailSettingsWidget.gml +++ b/Userland/Applications/MailSettings/MailSettingsWidget.gml @@ -1,6 +1,5 @@ @GUI::Frame { fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { margins: [10] spacing: 5 @@ -9,7 +8,6 @@ @GUI::GroupBox { title: "Server Settings" fixed_height: 170 - layout: @GUI::VerticalBoxLayout { margins: [6] spacing: 2 @@ -93,7 +91,6 @@ @GUI::GroupBox { title: "User Settings" fixed_height: 110 - layout: @GUI::VerticalBoxLayout { margins: [6] spacing: 2 diff --git a/Userland/Applications/MouseSettings/Mouse.gml b/Userland/Applications/MouseSettings/Mouse.gml index fc445c1e3e..7ae4faadef 100644 --- a/Userland/Applications/MouseSettings/Mouse.gml +++ b/Userland/Applications/MouseSettings/Mouse.gml @@ -1,6 +1,5 @@ @GUI::Frame { fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { margins: [10] spacing: 5 @@ -9,7 +8,6 @@ @GUI::GroupBox { title: "Cursor speed" fixed_height: 106 - layout: @GUI::VerticalBoxLayout { margins: [6] spacing: 2 @@ -58,7 +56,6 @@ @GUI::GroupBox { title: "Scroll wheel step size" fixed_height: 106 - layout: @GUI::VerticalBoxLayout { margins: [6] spacing: 2 @@ -104,15 +101,13 @@ fixed_width: 100 } - @GUI::Widget { - } + @GUI::Widget } } @GUI::GroupBox { title: "Double-click speed" fixed_height: 106 - layout: @GUI::VerticalBoxLayout { margins: [6] spacing: 2 @@ -162,7 +157,6 @@ @GUI::GroupBox { title: "Button configuration" fixed_height: 68 - layout: @GUI::VerticalBoxLayout { margins: [16, 8, 8] spacing: 2 diff --git a/Userland/Applications/MouseSettings/Theme.gml b/Userland/Applications/MouseSettings/Theme.gml index 851f647f17..fe144e01cc 100644 --- a/Userland/Applications/MouseSettings/Theme.gml +++ b/Userland/Applications/MouseSettings/Theme.gml @@ -1,13 +1,11 @@ @GUI::Frame { fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { margins: [10] } @GUI::GroupBox { title: "Available Cursor Themes" - layout: @GUI::VerticalBoxLayout { margins: [6] spacing: 4 @@ -15,7 +13,6 @@ @GUI::Widget { shrink_to_fit: true - layout: @GUI::HorizontalBoxLayout { spacing: 8 } diff --git a/Userland/Applications/PixelPaint/EditGuideDialog.gml b/Userland/Applications/PixelPaint/EditGuideDialog.gml index 44945e5b29..222ef1a51b 100644 --- a/Userland/Applications/PixelPaint/EditGuideDialog.gml +++ b/Userland/Applications/PixelPaint/EditGuideDialog.gml @@ -1,8 +1,6 @@ @GUI::Frame { fill_with_background_color: true - - layout: @GUI::VerticalBoxLayout { - } + layout: @GUI::VerticalBoxLayout @GUI::Widget { layout: @GUI::VerticalBoxLayout { @@ -12,7 +10,6 @@ @GUI::GroupBox { title: "Orientation" shrink_to_fit: true - layout: @GUI::HorizontalBoxLayout { margins: [10, 8, 8] } @@ -33,8 +30,8 @@ layout: @GUI::HorizontalBoxLayout { margins: [4] } - shrink_to_fit: true + shrink_to_fit: true @GUI::Label { text: "Offset" text_alignment: "CenterLeft" @@ -45,16 +42,13 @@ } } - @GUI::Widget { max_height: 24 - layout: @GUI::HorizontalBoxLayout { margins: [4] } - @GUI::Widget { - } + @GUI::Widget @GUI::Button { name: "ok_button" diff --git a/Userland/Applications/PixelPaint/FilterGallery.gml b/Userland/Applications/PixelPaint/FilterGallery.gml index 609830e48f..833b95aa31 100644 --- a/Userland/Applications/PixelPaint/FilterGallery.gml +++ b/Userland/Applications/PixelPaint/FilterGallery.gml @@ -1,15 +1,12 @@ @GUI::Frame { - layout: @GUI::VerticalBoxLayout { - } + layout: @GUI::VerticalBoxLayout fill_with_background_color: true - @GUI::Widget { - - layout:@GUI::HorizontalBoxLayout { + layout: @GUI::HorizontalBoxLayout { margins: [4] } - + @GUI::TreeView { name: "tree_view" fixed_width: 200 @@ -17,22 +14,20 @@ @GUI::Widget { name: "config_widget" - - layout:@GUI::VerticalBoxLayout { + layout: @GUI::VerticalBoxLayout { margins: [4] } - } + } } @GUI::Widget { max_height: 24 - - layout:@GUI::HorizontalBoxLayout { + layout: @GUI::HorizontalBoxLayout { margins: [4] } - @GUI::Widget {} + @GUI::Widget @GUI::Button { name: "apply_button" diff --git a/Userland/Applications/PixelPaint/PixelPaintWindow.gml b/Userland/Applications/PixelPaint/PixelPaintWindow.gml index 42dcfe56bf..b06b31405a 100644 --- a/Userland/Applications/PixelPaint/PixelPaintWindow.gml +++ b/Userland/Applications/PixelPaint/PixelPaintWindow.gml @@ -1,14 +1,12 @@ @GUI::Widget { name: "main" fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { spacing: 2 } @GUI::ToolbarContainer { name: "toolbar_container" - @GUI::Toolbar { name: "toolbar" } @@ -21,7 +19,6 @@ @GUI::ToolbarContainer { name: "toolbar_container" - @PixelPaint::ToolboxWidget { name: "toolbox" } @@ -44,9 +41,7 @@ @GUI::Widget { fill_with_background_color: true fixed_width: 200 - - layout: @GUI::VerticalBoxLayout { - } + layout: @GUI::VerticalBoxLayout @GUI::GroupBox { title: "Layers" diff --git a/Userland/Applications/Run/Run.gml b/Userland/Applications/Run/Run.gml index 99030fb934..64cd5192d4 100644 --- a/Userland/Applications/Run/Run.gml +++ b/Userland/Applications/Run/Run.gml @@ -1,6 +1,5 @@ @GUI::Widget { fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { margins: [4] } @@ -40,8 +39,8 @@ @GUI::Widget { layout: @GUI::HorizontalBoxLayout - fixed_height: 22 + fixed_height: 22 // HACK: using an empty widget as a spacer @GUI::Widget diff --git a/Userland/Applications/Spreadsheet/CondFormatting.gml b/Userland/Applications/Spreadsheet/CondFormatting.gml index 9157968007..4072874b36 100644 --- a/Userland/Applications/Spreadsheet/CondFormatting.gml +++ b/Userland/Applications/Spreadsheet/CondFormatting.gml @@ -1,7 +1,6 @@ @GUI::Widget { name: "main" fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { margins: [4] spacing: 4 @@ -13,7 +12,6 @@ @GUI::Widget { shrink_to_fit: true - layout: @GUI::HorizontalBoxLayout { spacing: 10 } diff --git a/Userland/Applications/Spreadsheet/CondView.gml b/Userland/Applications/Spreadsheet/CondView.gml index a17e15d14b..737ce4b9ee 100644 --- a/Userland/Applications/Spreadsheet/CondView.gml +++ b/Userland/Applications/Spreadsheet/CondView.gml @@ -3,7 +3,6 @@ @GUI::Widget { shrink_to_fit: true - layout: @GUI::HorizontalBoxLayout @GUI::Label { @@ -21,7 +20,6 @@ @GUI::Widget { shrink_to_fit: true - layout: @GUI::HorizontalBoxLayout @GUI::Label { @@ -36,7 +34,6 @@ @GUI::Widget { shrink_to_fit: true - layout: @GUI::HorizontalBoxLayout @GUI::Label { diff --git a/Userland/Applications/Spreadsheet/csv_export.gml b/Userland/Applications/Spreadsheet/csv_export.gml index a1dbd52eb1..975ce6e846 100644 --- a/Userland/Applications/Spreadsheet/csv_export.gml +++ b/Userland/Applications/Spreadsheet/csv_export.gml @@ -6,17 +6,13 @@ @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" - layout: @GUI::VerticalBoxLayout { margins: [10, 8, 8] } @@ -47,9 +43,7 @@ @GUI::Widget { fixed_height: 25 - - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::RadioButton { name: "delimiter_other_radio" @@ -66,7 +60,6 @@ @GUI::GroupBox { title: "Quote" - layout: @GUI::VerticalBoxLayout { margins: [10, 8, 8] } @@ -85,9 +78,7 @@ @GUI::Widget { fixed_height: 25 - - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::RadioButton { name: "quote_other_radio" @@ -101,14 +92,11 @@ } } - @GUI::Widget { - } + @GUI::Widget @GUI::Widget { fixed_height: 25 - - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { text: "Escape by " @@ -121,16 +109,13 @@ } } - @GUI::Widget { - } + @GUI::Widget } } @GUI::Widget { fixed_height: 25 - - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::CheckBox { name: "export_header_check_box" @@ -147,7 +132,6 @@ @GUI::GroupBox { title: "Data Preview" fixed_width: 150 - layout: @GUI::VerticalBoxLayout { margins: [10, 8, 8] } diff --git a/Userland/Applications/Spreadsheet/csv_import.gml b/Userland/Applications/Spreadsheet/csv_import.gml index d22893b723..996f826955 100644 --- a/Userland/Applications/Spreadsheet/csv_import.gml +++ b/Userland/Applications/Spreadsheet/csv_import.gml @@ -6,17 +6,13 @@ @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" - layout: @GUI::VerticalBoxLayout { margins: [10, 8, 8] } @@ -47,9 +43,7 @@ @GUI::Widget { fixed_height: 25 - - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::RadioButton { name: "delimiter_other_radio" @@ -66,7 +60,6 @@ @GUI::GroupBox { title: "Quote" - layout: @GUI::VerticalBoxLayout { margins: [10, 8, 8] } @@ -85,9 +78,7 @@ @GUI::Widget { fixed_height: 25 - - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::RadioButton { name: "quote_other_radio" @@ -101,14 +92,11 @@ } } - @GUI::Widget { - } + @GUI::Widget @GUI::Widget { fixed_height: 25 - - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { text: "Escape by " @@ -121,22 +109,19 @@ } } - @GUI::Widget { - } + @GUI::Widget } } @GUI::GroupBox { title: "Trim Field Spaces" fixed_height: 40 - layout: @GUI::VerticalBoxLayout { margins: [4, 4, 0] } @GUI::Widget { - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::CheckBox { name: "trim_leading_field_spaces_check_box" @@ -160,17 +145,16 @@ @GUI::GroupBox { title: "Data Preview" fixed_width: 150 - layout: @GUI::VerticalBoxLayout { margins: [10, 8, 8] } @GUI::StackWidget { name: "data_preview_widget" - @GUI::TableView { name: "data_preview_table_view" } + @GUI::Label { name: "data_preview_error_label" word_wrap: true diff --git a/Userland/Applications/Spreadsheet/select_format_page.gml b/Userland/Applications/Spreadsheet/select_format_page.gml index 9e88191a99..f1335eaed5 100644 --- a/Userland/Applications/Spreadsheet/select_format_page.gml +++ b/Userland/Applications/Spreadsheet/select_format_page.gml @@ -1,6 +1,5 @@ @GUI::Widget { name: "select_format" - layout: @GUI::VerticalBoxLayout { margins: [20] } @@ -13,9 +12,7 @@ @GUI::Widget { fixed_height: 25 - - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout @GUI::Label { text: "Type: " @@ -28,6 +25,5 @@ } } - @GUI::Widget { - } + @GUI::Widget } diff --git a/Userland/Applications/TerminalSettings/TerminalSettingsMain.gml b/Userland/Applications/TerminalSettings/TerminalSettingsMain.gml index dddb7dadb6..ba87b0974c 100644 --- a/Userland/Applications/TerminalSettings/TerminalSettingsMain.gml +++ b/Userland/Applications/TerminalSettings/TerminalSettingsMain.gml @@ -1,6 +1,5 @@ @GUI::Widget { fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { margins: [10] spacing: 5 @@ -10,7 +9,6 @@ title: "Bell Mode" shrink_to_fit: false fixed_height: 160 - layout: @GUI::VerticalBoxLayout { margins: [16, 8, 8] spacing: 16 @@ -23,7 +21,6 @@ @GUI::Widget { shrink_to_fit: true - layout: @GUI::VerticalBoxLayout { spacing: 4 } @@ -48,12 +45,11 @@ @GUI::GroupBox { title: "Scrollback Size (Lines)" shrink_to_fit: true - layout: @GUI::VerticalBoxLayout { margins: [16, 8, 8] } - @GUI::CheckBox { + @GUI::CheckBox { name: "terminal_show_scrollbar" text: "Show scrollbar" } diff --git a/Userland/Applications/TerminalSettings/TerminalSettingsView.gml b/Userland/Applications/TerminalSettings/TerminalSettingsView.gml index a6140d4245..a47459d673 100644 --- a/Userland/Applications/TerminalSettings/TerminalSettingsView.gml +++ b/Userland/Applications/TerminalSettings/TerminalSettingsView.gml @@ -1,6 +1,5 @@ @GUI::Widget { fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { margins: [10] spacing: 5 @@ -9,7 +8,6 @@ @GUI::GroupBox { title: "Background Opacity" fixed_height: 70 - layout: @GUI::VerticalBoxLayout { margins: [16, 8, 8] spacing: 16 @@ -26,7 +24,6 @@ @GUI::GroupBox { title: "Terminal Font" fixed_height: 100 - layout: @GUI::VerticalBoxLayout { margins: [16, 8, 8] spacing: 16 @@ -40,7 +37,6 @@ @GUI::Widget { shrink_to_fit: true name: "terminal_font_selection" - layout: @GUI::HorizontalBoxLayout { spacing: 6 } @@ -48,9 +44,7 @@ @GUI::Frame { background_role: "Base" fill_with_background_color: true - - layout: @GUI::VerticalBoxLayout { - } + layout: @GUI::VerticalBoxLayout @GUI::Label { name: "terminal_font_label" @@ -68,7 +62,6 @@ @GUI::GroupBox { title: "Color Scheme" fixed_height: 70 - layout: @GUI::VerticalBoxLayout { margins: [16, 8, 8] spacing: 16 diff --git a/Userland/Applications/TextEditor/TextEditorWindow.gml b/Userland/Applications/TextEditor/TextEditorWindow.gml index 37fa78c9f9..ed700973fb 100644 --- a/Userland/Applications/TextEditor/TextEditorWindow.gml +++ b/Userland/Applications/TextEditor/TextEditorWindow.gml @@ -1,14 +1,12 @@ @GUI::Widget { name: "main" fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { spacing: 2 } @GUI::ToolbarContainer { name: "toolbar_container" - @GUI::Toolbar { name: "toolbar" } @@ -22,9 +20,8 @@ @GUI::Widget { name: "web_view_container" visible: false + layout: @GUI::VerticalBoxLayout - layout: @GUI::VerticalBoxLayout { - } } } @@ -33,7 +30,6 @@ visible: false fill_with_background_color: true fixed_height: 56 - layout: @GUI::VerticalBoxLayout { spacing: 2 margins: [3] @@ -43,7 +39,6 @@ name: "find_widget" fill_with_background_color: true fixed_height: 22 - layout: @GUI::HorizontalBoxLayout { spacing: 4 } @@ -79,7 +74,6 @@ name: "replace_widget" fill_with_background_color: true fixed_height: 22 - layout: @GUI::HorizontalBoxLayout { spacing: 4 } diff --git a/Userland/Applications/ThemeEditor/ThemeEditor.gml b/Userland/Applications/ThemeEditor/ThemeEditor.gml index 9e3aab90f2..022cced5a5 100644 --- a/Userland/Applications/ThemeEditor/ThemeEditor.gml +++ b/Userland/Applications/ThemeEditor/ThemeEditor.gml @@ -1,9 +1,10 @@ @GUI::Widget { layout: @GUI::VerticalBoxLayout - fill_with_background_color: true + fill_with_background_color: true @GUI::Frame { layout: @GUI::HorizontalBoxLayout + name: "preview_frame" } @@ -11,9 +12,9 @@ layout: @GUI::HorizontalBoxLayout { margins: [4, 4, 4, 4] } + shrink_to_fit: true title: "Colors" - @GUI::ComboBox { name: "color_combo_box" model_only: true @@ -29,9 +30,9 @@ layout: @GUI::HorizontalBoxLayout { margins: [4, 4, 4, 4] } + shrink_to_fit: true title: "Alignments" - @GUI::ComboBox { name: "alignment_combo_box" model_only: true @@ -47,17 +48,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 +69,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 +87,9 @@ layout: @GUI::HorizontalBoxLayout { margins: [4, 4, 4, 4] } + shrink_to_fit: true title: "Paths" - @GUI::ComboBox { name: "path_combo_box" model_only: true diff --git a/Userland/Applications/Welcome/WelcomeWindow.gml b/Userland/Applications/Welcome/WelcomeWindow.gml index 77b7394aa5..014a2dd413 100644 --- a/Userland/Applications/Welcome/WelcomeWindow.gml +++ b/Userland/Applications/Welcome/WelcomeWindow.gml @@ -99,10 +99,9 @@ @GUI::Widget { fixed_height: 24 - layout: @GUI::HorizontalBoxLayout { - } + layout: @GUI::HorizontalBoxLayout - @GUI::CheckBox{ + @GUI::CheckBox { name: "startup_checkbox" text: "Show Welcome the next time SerenityOS starts" autosize: true |