Kaydet (Commit) 6eb461ed authored tarafından Caolán McNamara's avatar Caolán McNamara

default .ui ListBoxes to simple selection mode

Change-Id: I4cadf53fbdf25a399008155feaedc7e8b52ec303
üst ddb4d8df
...@@ -869,7 +869,7 @@ Window *VclBuilder::makeObject(Window *pParent, const OString &name, const OStri ...@@ -869,7 +869,7 @@ Window *VclBuilder::makeObject(Window *pParent, const OString &name, const OStri
} }
else else
{ {
ListBox *pListBox = new ListBox(pParent, WB_LEFT|WB_DROPDOWN|WB_VCENTER|WB_3DLOOK); ListBox *pListBox = new ListBox(pParent, WB_LEFT|WB_DROPDOWN|WB_VCENTER|WB_3DLOOK|WB_SIMPLEMODE);
pListBox->EnableAutoSize(true); pListBox->EnableAutoSize(true);
if (!rItems.empty()) if (!rItems.empty())
{ {
...@@ -891,7 +891,7 @@ Window *VclBuilder::makeObject(Window *pParent, const OString &name, const OStri ...@@ -891,7 +891,7 @@ Window *VclBuilder::makeObject(Window *pParent, const OString &name, const OStri
// everything over to SvTreeViewBox // everything over to SvTreeViewBox
//d) remove the users of makeSvTreeViewBox //d) remove the users of makeSvTreeViewBox
extractModel(id, rMap); extractModel(id, rMap);
pWindow = new ListBox(pParent, WB_LEFT|WB_VCENTER|WB_3DLOOK); pWindow = new ListBox(pParent, WB_LEFT|WB_VCENTER|WB_3DLOOK|WB_SIMPLEMODE);
} }
else if (name == "GtkLabel") else if (name == "GtkLabel")
{ {
......
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