diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-04-19 01:40:25 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-04-19 01:40:25 +0200 |
commit | b3f657a1c6500045f6aa52530b890e040f81d38d (patch) | |
tree | 45600130b335a26627880da5e3e9363b8acf01e0 /Applications | |
parent | 62d347d12a877acb42cf85e11f7e9a37a8a425ba (diff) | |
download | serenity-b3f657a1c6500045f6aa52530b890e040f81d38d.zip |
VisualBuilder: Expose GGroupBox name property.
Diffstat (limited to 'Applications')
-rw-r--r-- | Applications/VisualBuilder/VBWidget.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Applications/VisualBuilder/VBWidget.cpp b/Applications/VisualBuilder/VBWidget.cpp index 162ef65d08..0ea3a8f77e 100644 --- a/Applications/VisualBuilder/VBWidget.cpp +++ b/Applications/VisualBuilder/VBWidget.cpp @@ -121,6 +121,10 @@ void VBWidget::setup_properties() VB_ADD_PROPERTY(GButton, "caption", caption, set_caption, string); } + if (m_type == VBWidgetType::GGroupBox) { + VB_ADD_PROPERTY(GGroupBox, "name", name, set_name, string); + } + if (m_type == VBWidgetType::GScrollBar) { VB_ADD_PROPERTY(GScrollBar, "min", min, set_min, int); VB_ADD_PROPERTY(GScrollBar, "max", max, set_max, int); |