| 1290 ui_box_container_add(ct->container, item_obj->widget, &layout); |
1290 ui_box_container_add(ct->container, item_obj->widget, &layout); |
| 1291 } else { |
1291 } else { |
| 1292 // create new widget and object for this list element |
1292 // create new widget and object for this list element |
| 1293 UiObject *obj = uic_object_new_toplevel(); |
1293 UiObject *obj = uic_object_new_toplevel(); |
| 1294 obj->ctx->parent = ct->parent->ctx; |
1294 obj->ctx->parent = ct->parent->ctx; |
| 1295 obj->window = NULL; |
1295 obj->window = ct->parent->window; |
| 1296 obj->widget = ui_subcontainer_create( |
1296 obj->widget = ui_subcontainer_create( |
| 1297 ct->subcontainer, |
1297 ct->subcontainer, |
| 1298 obj, |
1298 obj, |
| 1299 ct->spacing, |
1299 ct->spacing, |
| 1300 ct->columnspacing, |
1300 ct->columnspacing, |