it should do, send us the sample edc as well On Tue, Jul 6, 2010 at 5:01 PM, Atton Jonathan <[email protected]> wrote: > same problem > : http://dev.enlightenment.fr/~watchwolf/enki/images/stories/scripts/evas_box_2.tar.gz > It seems that "min: 1 1" does nothing. I will have to check this. > > 2010/7/6 Gustavo Sverzut Barbieri <[email protected]> >> >> On Tue, Jul 6, 2010 at 3:36 PM, Atton Jonathan <[email protected]> >> wrote: >> > 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 ? >> >> Do you use part { description { box { min: 1 1;} } } >> >> it should be just like TEXT, when you request it to be updated to have >> minimum size of the contents. >> >> >> -- >> Gustavo Sverzut Barbieri >> http://profusion.mobi embedded systems >> -------------------------------------- >> MSN: [email protected] >> Skype: gsbarbieri >> Mobile: +55 (19) 9225-2202 > > > > -- > Regards. >
-- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: [email protected] Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ 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
