Eina_Bool int_ret = EINA_TRUE;
eo_do_super(obj, MY_CLASS,
int_ret = elm_obj_container_content_set(part, content));
+
return int_ret;
}
}
evas_object_show(sd->content);
if (sd->scrollable)
elm_widget_sub_object_add(sd->scr_ly, sd->content);
+ else
+ elm_widget_sub_object_add(obj, sd->content);
}
elm_layout_sizing_eval(obj);
elm_layout_content_unset(sd->scr_ly, "elm.swallow.content");
elm_layout_content_set(obj, "elm.swallow.content", sd->bx);
- if (sd->content) elm_widget_sub_object_add(sd->bx, sd->content);
+ if (sd->content) elm_widget_sub_object_add(obj, sd->content);
}
}