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:
parent
62d347d12a
commit
b3f657a1c6
3 changed files with 13 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue