On Thu, 21 Jul 2011 14:58:53 +0200 Hugo Camboulive <hugo.camboul...@gmail.com>
said:

basically you can't do what you are doing. once you have a group as a child,
that child group will never have its min size recalculated after load. so that
means programs later on wont change that. it's basically not possible to do as
the expense of recalculating every time you do something will bring everything
to a crawl.

> Hi everyone,
> 
> I encoutered a problem with the text.min / text.max attributes in edje,
> which (I think) are supposed to define the hints depending on the length of
> the text itself.
> 
> To center a block of 2 texts, I put two text parts in a box.
> 
> It works fine with text defined in the edc (see first 2 lines in screenshot
> included, the text is centered), but when I update the text in the
> program (third line), the objects keep the same positions.
> Maybe the hints are not updated on edje_object_part_text_set, or maybe the
> box layout is not refreshed... I don't know :)
> 
> Included is a sample program+edc and a screenshot of how it looks, I've
> heard it's the same in trunk (you may need to change the text size to 20 or
> smaller)
> 
> Regards
> 
> Hugo Camboulive


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to