On Tue, Jul 6, 2010 at 5:59 PM, Gustavo Sverzut Barbieri
<[email protected]> wrote:
> On Tue, Jul 6, 2010 at 5:27 PM, Atton Jonathan <[email protected]> 
> wrote:
>> the sample is inside.
>
> Sorry, the URL was written as _2, but link was to the old file!
>
>    http://pastebin.com/XN5Gz603
>
> It seems to be a bug in Edje's min_calc not considering BOX "box.min"
> as it does for text. Needs to investigate why, the size hint is fine,
> but maybe it is not updating some internal structure members that i
> looks during calc.
>
> No time to investigate it, you'll have to do it yourself :-)
>

All the calculations Edje does to get size and position of parts is done
before specific stuff for each type, and the final object_move() and
object_resize()
are called before those specific functions. After all that, and
already knowing what
it's size is supposed to be, box recalculates if it changed layout,
size_hints are
set for the box object and if the 'min' property is set, it updates
the parameters
with the size. Problem is those parameters were used before already so no
move or resize happens anymore.
Adding a callback to listen for hints changing didn't work when I
tried, for some
reason the values were not changing.
Some days ago I did several quick tests and hacks and couldn't get anything to
work the way I expected it to.

> BR,
>
> --
> 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
>

------------------------------------------------------------------------------
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

Reply via email to