mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:47:34 +00:00
VisualBuilder: Add [x, y, width, height] properties for all widgets.
At first I tried doing this as a single "rect" property but I like the feel of the individual properties much better. :^)
This commit is contained in:
parent
c425bc2e71
commit
3cddc3484e
5 changed files with 32 additions and 5 deletions
|
@ -51,10 +51,11 @@ public:
|
|||
|
||||
VBWidgetPropertyModel& property_model() { return *m_property_model; }
|
||||
|
||||
protected:
|
||||
VBWidget(VBWidgetType, VBForm&);
|
||||
void synchronize_properties();
|
||||
|
||||
private:
|
||||
VBWidget(VBWidgetType, VBForm&);
|
||||
|
||||
VBWidgetType m_type { VBWidgetType::None };
|
||||
VBForm& m_form;
|
||||
GWidget* m_gwidget { nullptr };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue