Enlightenment CVS committal Author : pfritz Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_context_menu.c Log Message: resize the combo if items are removed (bug 322) =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_context_menu.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -3 -r1.12 -r1.13 --- ewl_context_menu.c 12 Nov 2007 22:21:57 -0000 1.12 +++ ewl_context_menu.c 22 Dec 2007 11:03:58 -0000 1.13 @@ -175,8 +175,10 @@ /* if there is not a container specified we will create a vbox as * default */ - if (!c) + if (!c) { c = EWL_CONTAINER(ewl_vbox_new()); + ewl_object_fill_policy_set(EWL_OBJECT(c), EWL_FLAG_FILL_HFILL); + } /* remove the old container */ if (cm->container) { ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs