Re: [E-devel] edje_object_size_min_calc() doesn't return correct size
On Fri, Mar 27, 2009 at 2:17 PM, Nicolas Aguirre wrote: > On Wed, Mar 25, 2009 at 6:29 PM, Rafael Antognolli > wrote: >> >> Hi, >> >> I'm trying to use edje_object_size_min_calc() to get the size of an >> edje object after I resized an Evas_Object that is swallowed into it. >> I'm resizing this Evas_Object with >> edje_extern_object_[min/max]_size_set(), and I have a part that is >> relative to this swallow and larger than it. When I use >> edje_object_part_geometry_get() the size returned is correct, but >> edje_object_size_min_calc() still just returns the size of the >> swallow, not the size of the part relative to it (which is larger). >> >> I even tried to get the size after main_loop iterations, but still got >> wrong values. >> >> Any suggestions? May edje_object_size_min_calc() be broken or it >> shouldn't return these values? >> >> Regards, >> -- >> Rafael Antognolli > > You should maybe try to use edje_object_calc_force. Yeah, I tried that too. The edje parts size and position aren't wrong, because I checked them with edje_object_part_geometry_get(). I think the problem is the way that edje_object_size_min_calc() does the calculations. Will try to look at it later. Thanks anyway. > -- > Nicolas Aguirre > Mail: aguirre.nico...@gmail.com > Web: http://www.digital-corner.org > -- Rafael Antognolli ProFUSION embedded systems http://profusion.mobi -- ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] edje_object_size_min_calc() doesn't return correct size
On Wed, Mar 25, 2009 at 6:29 PM, Rafael Antognolli wrote: > > Hi, > > I'm trying to use edje_object_size_min_calc() to get the size of an > edje object after I resized an Evas_Object that is swallowed into it. > I'm resizing this Evas_Object with > edje_extern_object_[min/max]_size_set(), and I have a part that is > relative to this swallow and larger than it. When I use > edje_object_part_geometry_get() the size returned is correct, but > edje_object_size_min_calc() still just returns the size of the > swallow, not the size of the part relative to it (which is larger). > > I even tried to get the size after main_loop iterations, but still got > wrong values. > > Any suggestions? May edje_object_size_min_calc() be broken or it > shouldn't return these values? > > Regards, > -- > Rafael Antognolli You should maybe try to use edje_object_calc_force. -- Nicolas Aguirre Mail: aguirre.nico...@gmail.com Web: http://www.digital-corner.org -- ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] edje_object_size_min_calc() doesn't return correct size
Hi, I'm trying to use edje_object_size_min_calc() to get the size of an edje object after I resized an Evas_Object that is swallowed into it. I'm resizing this Evas_Object with edje_extern_object_[min/max]_size_set(), and I have a part that is relative to this swallow and larger than it. When I use edje_object_part_geometry_get() the size returned is correct, but edje_object_size_min_calc() still just returns the size of the swallow, not the size of the part relative to it (which is larger). I even tried to get the size after main_loop iterations, but still got wrong values. Any suggestions? May edje_object_size_min_calc() be broken or it shouldn't return these values? Regards, -- Rafael Antognolli -- ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel