From 517cf65c998b63eb9c9c40e5128e896569e8a4ab Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 1 Jun 2020 18:16:10 +0200 Subject: [PATCH] LibGUI: Tweak AboutDialog a bit, remove big Buggie from system variant One Buggie is enough, it looks a lot less confused without the big one. Also make the dialog a bit shorter since there was a lot of dead space. --- Libraries/LibGUI/AboutDialog.cpp | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/Libraries/LibGUI/AboutDialog.cpp b/Libraries/LibGUI/AboutDialog.cpp index c9897cf1cf..63eed2d2b8 100644 --- a/Libraries/LibGUI/AboutDialog.cpp +++ b/Libraries/LibGUI/AboutDialog.cpp @@ -40,7 +40,7 @@ AboutDialog::AboutDialog(const StringView& name, const Gfx::Bitmap* icon, Window , m_name(name) , m_icon(icon) { - resize(413, 315); + resize(413, 205); set_title(String::format("About %s", m_name.characters())); set_resizable(false); @@ -63,7 +63,7 @@ AboutDialog::AboutDialog(const StringView& name, const Gfx::Bitmap* icon, Window auto& left_container = content_container.add(); left_container.set_size_policy(SizePolicy::Fixed, SizePolicy::Fill); - left_container.set_preferred_size(100, 0); + left_container.set_preferred_size(60, 0); left_container.set_layout(); left_container.layout()->set_margins({ 0, 12, 0, 0 }); @@ -79,14 +79,6 @@ AboutDialog::AboutDialog(const StringView& name, const Gfx::Bitmap* icon, Window icon_label.set_preferred_size(32, 32); } - if (m_name == "SerenityOS") { - auto& buggie_label = left_container.add