1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:28:11 +00:00

LibGUI: Register the "text" property on GUI::Label

This commit is contained in:
Andreas Kling 2020-09-25 20:41:30 +02:00
parent d3adbed231
commit a5878175e2
2 changed files with 4 additions and 1 deletions

View file

@ -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()