1
Fork 0
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:
Andreas Kling 2019-04-12 15:17:53 +02:00
parent 3674bb9429
commit c98bbff0cb
5 changed files with 66 additions and 25 deletions

View file

@ -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;
}