discomfitor pushed a commit to branch enlightenment-0.21. http://git.enlightenment.org/core/enlightenment.git/commit/?id=1205dff03c4f542b87ec3a2f3d3b2e085f26ffb2
commit 1205dff03c4f542b87ec3a2f3d3b2e085f26ffb2 Author: Mike Blumenkrantz <zm...@osg.samsung.com> Date: Mon Oct 31 13:07:21 2016 -0400 attempt to recalc gadgets which overflow their container --- src/bin/e_gadget.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/bin/e_gadget.c b/src/bin/e_gadget.c index 5d64e74..7bbe5ed 100644 --- a/src/bin/e_gadget.c +++ b/src/bin/e_gadget.c @@ -421,6 +421,11 @@ _site_gadget_resize(Evas_Object *g, int w, int h, Evas_Coord *ww, Evas_Coord *hh if ((mxw >= 0) && (mxw < *ow)) *ow = mxw; if ((mxh >= 0) && (mxh < *oh)) *oh = mxh; } + if (!zgc->site->orient) + { + if ((w < (*ow)) || (h < (*oh))) + evas_object_smart_need_recalculate_set(zgc->gadget, 1); + } //fprintf(stderr, "%s: %dx%d\n", zgc->type, *ow, *oh); evas_object_resize(zgc->display, *ow, *oh); } --