force sandbox gadget popup sizing immediately

ensure that first rendered frame is the expected size
This commit is contained in:
Mike Blumenkrantz 2017-10-20 16:13:32 -04:00
parent e46924b357
commit 1a2d94810a
1 changed files with 1 additions and 0 deletions

View File

@ -581,6 +581,7 @@ popup_added(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
evas_object_event_callback_add(event_info, EVAS_CALLBACK_CHANGED_SIZE_HINTS, popup_hints, inst);
elm_box_pack_end(bx, event_info);
evas_object_data_set(bx, "extracted", event_info);
evas_object_event_callback_add(bx, EVAS_CALLBACK_DEL, popup_del, inst);
elm_object_content_set(inst->ctxpopup, bx);