Browse Source

LibGUI: Tweak GStatusBar margins.

Andreas Kling 6 years ago
parent
commit
567a403683
1 changed files with 2 additions and 1 deletions
  1. 2 1
      LibGUI/GStatusBar.cpp

+ 2 - 1
LibGUI/GStatusBar.cpp

@@ -7,8 +7,9 @@ GStatusBar::GStatusBar(GWidget* parent)
     : GWidget(parent)
 {
     set_size_policy(SizePolicy::Fill, SizePolicy::Fixed);
-    set_preferred_size({ 0, 16 });
+    set_preferred_size({ 0, 18 });
     set_layout(make<GBoxLayout>(Orientation::Horizontal));
+    layout()->set_margins({ 1, 1, 1, 1 });
     m_label = new GLabel(this);
     m_label->set_text_alignment(TextAlignment::CenterLeft);
     m_label->set_fill_with_background_color(false);