force horizontal orient for all gadget editors with orientation

vertical orient does not fit well into any list/grid widgets, not sure
if this can be further improved yet
This commit is contained in:
Mike Blumenkrantz 2017-06-23 17:41:39 -04:00
parent ebfb925a11
commit 4c58940291
1 changed files with 1 additions and 0 deletions

View File

@ -2207,6 +2207,7 @@ e_gadget_editor_add(Evas_Object *parent, Evas_Object *site)
if (orient)
{
orient = E_GADGET_SITE_ORIENT_HORIZONTAL;
list = elm_genlist_add(parent);
elm_genlist_homogeneous_set(list, 1);
elm_genlist_mode_set(list, ELM_LIST_COMPRESS);