mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 17:55:06 +00:00
LibGUI: Register a whole bunch of properties in various widgets
This commit is contained in:
parent
20b74e4ede
commit
90aeacbb58
14 changed files with 65 additions and 7 deletions
|
@ -40,6 +40,9 @@ ImageWidget::ImageWidget(const StringView&)
|
|||
set_frame_shadow(Gfx::FrameShadow::Plain);
|
||||
set_frame_shape(Gfx::FrameShape::NoFrame);
|
||||
set_auto_resize(true);
|
||||
|
||||
REGISTER_BOOL_PROPERTY("auto_resize", auto_resize, set_auto_resize);
|
||||
REGISTER_BOOL_PROPERTY("should_stretch", should_stretch, set_should_stretch);
|
||||
}
|
||||
|
||||
ImageWidget::~ImageWidget()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue