1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-23 08:27:35 +00:00

VisualBuilder: Expose GGroupBox name property.

This commit is contained in:
Andreas Kling 2019-04-19 01:40:25 +02:00
parent 62d347d12a
commit b3f657a1c6
3 changed files with 13 additions and 0 deletions

View file

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