diff options
Diffstat (limited to 'Userland/Applications')
4 files changed, 6 insertions, 8 deletions
diff --git a/Userland/Applications/CrashReporter/CrashReporterWindow.gml b/Userland/Applications/CrashReporter/CrashReporterWindow.gml index f445776110..59928c04d2 100644 --- a/Userland/Applications/CrashReporter/CrashReporterWindow.gml +++ b/Userland/Applications/CrashReporter/CrashReporterWindow.gml @@ -94,8 +94,7 @@ fixed_width: 150 } - // HACK: We need something like Layout::add_spacer() in GML! :^) - @GUI::Widget {} + @GUI::Layout::Spacer {} @GUI::Button { name: "close_button" diff --git a/Userland/Applications/Run/Run.gml b/Userland/Applications/Run/Run.gml index 5f2fd0ca20..0ac27a4b68 100644 --- a/Userland/Applications/Run/Run.gml +++ b/Userland/Applications/Run/Run.gml @@ -41,8 +41,7 @@ layout: @GUI::HorizontalBoxLayout {} fixed_height: 22 - // HACK: using an empty widget as a spacer - @GUI::Widget {} + @GUI::Layout::Spacer {} @GUI::Button { name: "ok_button" diff --git a/Userland/Applications/Spreadsheet/CondFormatting.gml b/Userland/Applications/Spreadsheet/CondFormatting.gml index 853b39a8eb..934573a1b8 100644 --- a/Userland/Applications/Spreadsheet/CondFormatting.gml +++ b/Userland/Applications/Spreadsheet/CondFormatting.gml @@ -16,7 +16,7 @@ spacing: 10 } - @GUI::Widget {} + @GUI::Layout::Spacer {} @GUI::Button { name: "add_button" @@ -30,6 +30,6 @@ fixed_width: 70 } - @GUI::Widget {} + @GUI::Layout::Spacer {} } } diff --git a/Userland/Applications/Welcome/WelcomeWindow.gml b/Userland/Applications/Welcome/WelcomeWindow.gml index 6c7ebae2e3..618b58aa73 100644 --- a/Userland/Applications/Welcome/WelcomeWindow.gml +++ b/Userland/Applications/Welcome/WelcomeWindow.gml @@ -85,7 +85,7 @@ text: "Next Tip" } - @GUI::Widget {} + @GUI::Layout::Spacer {} @GUI::HorizontalSeparator { fixed_height: 2 @@ -107,7 +107,7 @@ autosize: true } - @GUI::Widget {} + @GUI::Layout::Spacer {} @GUI::Button { name: "close_button" |