Kaydet (Commit) 307c8cdd authored tarafından Caolán McNamara's avatar Caolán McNamara

reluctantly support NumericBox as a custom widget

Change-Id: I7bbd8032953a6573e8f480d4c7a992b178f310f3
üst 45532cef
......@@ -78,5 +78,10 @@
</properties>
</glade-widget-class>
<glade-widget-class title="VclComboBoxNumeric" name="VclComboBoxNumeric"
generic-name="ComboBoxNumeric" parent="VclComboBoxText"
icon-name="widget-gtk-comboboxtext"/>
</glade-widget-classes>
</glade-catalog>
......@@ -1093,6 +1093,12 @@ Window *VclBuilder::makeObject(Window *pParent, const OString &name, const OStri
pWindow = pListBox;
}
}
else if (name == "VclComboBoxNumeric")
{
NumericBox* pComboBox = new NumericBox(pParent, WB_LEFT|WB_DROPDOWN|WB_VCENTER|WB_3DLOOK);
pComboBox->EnableAutoSize(true);
pWindow = pComboBox;
}
else if (name == "GtkTreeView")
{
//To-Do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment