mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 10:18:15 +09:00
LibGUI: Register the "text" property on GUI::Label
This commit is contained in:
parent
d3adbed231
commit
a5878175e2
Notes:
sideshowbarker
2024-07-19 02:15:08 +09:00
Author: https://github.com/awesomekling
Commit: a5878175e2
2 changed files with 4 additions and 1 deletions
|
@ -38,6 +38,8 @@ Label::Label(const StringView& text)
|
|||
set_frame_thickness(0);
|
||||
set_frame_shadow(Gfx::FrameShadow::Plain);
|
||||
set_frame_shape(Gfx::FrameShape::NoFrame);
|
||||
|
||||
REGISTER_STRING_PROPERTY("text", text, set_text);
|
||||
}
|
||||
|
||||
Label::~Label()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue