mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
LibGUI: Tweak GStatusBar margins.
This commit is contained in:
parent
7ee4e79cd6
commit
567a403683
Notes:
sideshowbarker
2024-07-19 15:35:00 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/567a4036837
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue