mirror of
https://github.com/RGBCube/serenity
synced 2025-06-30 10:22:13 +00:00
LibGUI: Port rest of the classes to property deserializers
This commit is contained in:
parent
bd56d2f508
commit
1f4b15dcaa
9 changed files with 164 additions and 211 deletions
|
@ -22,7 +22,7 @@ BoxLayout::BoxLayout(Orientation orientation, Margins margins, int spacing)
|
|||
, m_orientation(orientation)
|
||||
{
|
||||
register_property(
|
||||
"orientation", [this] { return m_orientation == Gfx::Orientation::Vertical ? "Vertical" : "Horizontal"; }, nullptr);
|
||||
"orientation"sv, [this] { return m_orientation == Gfx::Orientation::Vertical ? "Vertical" : "Horizontal"; }, nullptr, nullptr);
|
||||
}
|
||||
|
||||
UISize BoxLayout::preferred_size() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue