This commit is contained in:
Marcel Hollerbach 2020-02-03 18:06:30 +01:00
parent 2db97a9bc2
commit e2082cf442
2 changed files with 1 additions and 4 deletions

View File

@ -173,9 +173,6 @@ _home_screen_cb(void *data, const Efl_Event *cb)
Efl_Canvas_Rectangle *rect;
rect = efl_add(EFL_CANVAS_RECTANGLE_CLASS, compositor);
efl_gfx_entity_size_set(rect, EINA_SIZE2D(720*SCALE+15, 1280*SCALE));
efl_gfx_entity_position_set(rect, EINA_POSITION2D(0, 1280*SCALE));
efl_ui_spotlight_push(compositor, rect);
}

View File

@ -96,8 +96,8 @@ _efl_ui_spotlight_icon_indicator_efl_ui_spotlight_indicator_bind(Eo *obj, Efl_Ui
if (spotlight)
{
pd->container = spotlight;
efl_event_callback_array_add(pd->container, spotlight_resized(), pd->layout);
pd->layout = efl_add(EFL_CANVAS_LAYOUT_CLASS, pd->container);
efl_event_callback_array_add(pd->container, spotlight_resized(), pd->layout);
if (elm_widget_theme_object_set(pd->container, pd->layout,
"spotlight",