forked from enlightenment/efl
test_popup: set popup content correctly
internal object content_area was not swallowed into popup since elm_object_part_content_set() was used. Steps to reproduce: 1. clouseau elementary_test -to popup 2. open subpopup example. 3. observe orphan content_area object in clouseau widget list.
This commit is contained in:
parent
70ea7962f9
commit
87e841d7b7
|
@ -692,7 +692,7 @@ _subpopup_cb(void *data, Evas_Object *obj EINA_UNUSED,
|
|||
// button as a popup content
|
||||
btn = elm_button_add(popup);
|
||||
elm_object_text_set(btn, "content");
|
||||
elm_object_part_content_set(popup, "elm.swallow.content", btn);
|
||||
elm_object_content_set(popup, btn);
|
||||
|
||||
// popup buttons
|
||||
btn = elm_button_add(popup);
|
||||
|
|
Loading…
Reference in New Issue