mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:37:37 +00:00
VisualBuilder: Add some widget-specific properties.
This commit is contained in:
parent
3674bb9429
commit
c98bbff0cb
5 changed files with 66 additions and 25 deletions
|
@ -82,14 +82,5 @@ GWidget* VBWidgetRegistry::build_gwidget(VBWidgetType type, GWidget* parent, Vec
|
|||
properties.append(move(property));
|
||||
};
|
||||
add_property("class", to_class_name(type), true);
|
||||
add_property("width");
|
||||
add_property("height");
|
||||
add_property("x");
|
||||
add_property("y");
|
||||
add_property("visible");
|
||||
add_property("enabled");
|
||||
add_property("tooltip");
|
||||
add_property("background_color");
|
||||
add_property("foreground_color");
|
||||
return gwidget;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue