set aspect on runner gadgets

devs/discomfitor/sandblog2017
Mike Blumenkrantz 5 years ago
parent 23ef468a29
commit 8ffae277b3
  1. 1
      src/runner.c

@ -337,6 +337,7 @@ runner_create(Evas_Object *parent, int *id, E_Gadget_Site_Orient orient)
inst->ci = _conf_item_get(id);
inst->ci->inst = inst;
inst->obj = efl_wl_add(e_comp->evas);
efl_wl_aspect_set(inst->obj, 1);
evas_object_data_set(inst->obj, "runner", inst);
evas_object_event_callback_add(inst->obj, EVAS_CALLBACK_MOUSE_DOWN, mouse_down, inst);
evas_object_smart_callback_add(parent, "gadget_created", runner_created, inst);

Loading…
Cancel
Save