mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-04 17:33:04 +00:00
LibGUI: Convert GLabel to ObjectPtr
This commit is contained in:
parent
6b347747f2
commit
c7437f9caa
Notes:
sideshowbarker
2024-07-19 12:02:31 +09:00
Author: https://github.com/awesomekling
Commit: c7437f9caa
22 changed files with 47 additions and 45 deletions
|
@ -13,7 +13,7 @@ GStatusBar::GStatusBar(GWidget* parent)
|
|||
set_layout(make<GBoxLayout>(Orientation::Horizontal));
|
||||
layout()->set_margins({ 2, 2, 2, 2 });
|
||||
layout()->set_spacing(2);
|
||||
m_label = new GLabel(this);
|
||||
m_label = GLabel::construct(this);
|
||||
m_label->set_frame_shadow(FrameShadow::Sunken);
|
||||
m_label->set_frame_shape(FrameShape::Panel);
|
||||
m_label->set_frame_thickness(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue