hey hey, evas_box and elm_box are different, no news here.
Currently Enki create the UI in C files (with elm_box) and I am converting it in edje external (edje box in this case) and I have a problem with elm_notify and box. In elm_notify I calculate the minimum size of the content and then I resize the popup in order to fit the content (not to big, not to small ...). If the content is a edje box I can't. In fact it is a bit more complicate :) The edje box doesn't fit to the content. If I use a box with a size of zero and put an object with a minimum size inside (like a elm button) : - the elm box is resized to fit the content - the edje will keep a size of 0 See the file : http://dev.enlightenment.fr/~watchwolf/enki/images/stories/scripts/evas_box.tar.gz The general idea is to put a list of buttons in a panel and set the size of the panel to fit the list of buttons. (bt1, bt2) < box < elm_notify if box = evas_box -> size(box) = 0 -> elm_notify will have a content of size 0 if box = elm box -> size(box) = min_size(bt1 + bt2) -> elm_notify will fit the panel to the list of buttons So my question is : do I have to update the evas box to fit the min size of the items ? do I have to implement the elm box external widget ? Do I have to pray ? -- Regards. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
