forked from enlightenment/enlightenment
Luncher: Hint the preview popup to have the same min size as the preview windows.
This fixes T5669
This commit is contained in:
parent
28da1ff339
commit
480eb2a04f
|
@ -882,7 +882,7 @@ _bar_icon_preview_show(void *data)
|
||||||
|
|
||||||
ic->preview = elm_ctxpopup_add(e_comp->elm);
|
ic->preview = elm_ctxpopup_add(e_comp->elm);
|
||||||
elm_object_style_set(ic->preview, "noblock");
|
elm_object_style_set(ic->preview, "noblock");
|
||||||
evas_object_size_hint_min_set(ic->preview, ic->inst->size, ic->inst->size);
|
evas_object_size_hint_min_set(ic->preview, ic->inst->cfg->preview_size, ic->inst->cfg->preview_size);
|
||||||
evas_object_smart_callback_add(ic->preview, "dismissed", _bar_popup_dismissed, ic);
|
evas_object_smart_callback_add(ic->preview, "dismissed", _bar_popup_dismissed, ic);
|
||||||
evas_object_event_callback_add(ic->preview, EVAS_CALLBACK_MOUSE_IN,
|
evas_object_event_callback_add(ic->preview, EVAS_CALLBACK_MOUSE_IN,
|
||||||
_bar_icon_preview_mouse_in, ic);
|
_bar_icon_preview_mouse_in, ic);
|
||||||
|
|
Loading…
Reference in New Issue