mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:07:35 +00:00
LibGUI: Convert GLabel to ObjectPtr
This commit is contained in:
parent
6b347747f2
commit
c7437f9caa
22 changed files with 47 additions and 45 deletions
|
@ -13,7 +13,7 @@ CalculatorWidget::CalculatorWidget(GWidget* parent)
|
|||
m_entry->set_relative_rect(5, 5, 244, 26);
|
||||
m_entry->set_text_alignment(TextAlignment::CenterRight);
|
||||
|
||||
m_label = new GLabel(this);
|
||||
m_label = GLabel::construct(this);
|
||||
m_label->set_relative_rect(12, 42, 27, 27);
|
||||
m_label->set_foreground_color(Color::NamedColor::Red);
|
||||
m_label->set_frame_shadow(FrameShadow::Sunken);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue