mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 16:35:06 +00:00
LibGUI: Tweak GStatusBar margins.
This commit is contained in:
parent
7ee4e79cd6
commit
567a403683
1 changed files with 2 additions and 1 deletions
|
@ -7,8 +7,9 @@ GStatusBar::GStatusBar(GWidget* parent)
|
||||||
: GWidget(parent)
|
: GWidget(parent)
|
||||||
{
|
{
|
||||||
set_size_policy(SizePolicy::Fill, SizePolicy::Fixed);
|
set_size_policy(SizePolicy::Fill, SizePolicy::Fixed);
|
||||||
set_preferred_size({ 0, 16 });
|
set_preferred_size({ 0, 18 });
|
||||||
set_layout(make<GBoxLayout>(Orientation::Horizontal));
|
set_layout(make<GBoxLayout>(Orientation::Horizontal));
|
||||||
|
layout()->set_margins({ 1, 1, 1, 1 });
|
||||||
m_label = new GLabel(this);
|
m_label = new GLabel(this);
|
||||||
m_label->set_text_alignment(TextAlignment::CenterLeft);
|
m_label->set_text_alignment(TextAlignment::CenterLeft);
|
||||||
m_label->set_fill_with_background_color(false);
|
m_label->set_fill_with_background_color(false);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue