On Sat, Aug 20, 2011 at 8:48 PM, Gustavo Sverzut Barbieri
<barbi...@profusion.mobi> wrote:
> On Sat, Aug 20, 2011 at 8:37 PM, Gustavo Sverzut Barbieri
> <barbi...@profusion.mobi> wrote:
>> Guys, particularly Tasn, could you please check the following EDC,
>> it's not working as you can see on your own (try with edje_player):
>>
>> collections {
>>   group { name: "main";
>>      parts {
>>         part { name: "text";
>>            type: TEXT;
>>            description { state: "default" 0.0;
>>               text {
>>                  font: "Sans";
>>                  size: 72;
>>                  text: "contents";
>>                  fit: 0 1;
>>                  min: 1 0;
>>               }
>>            }
>>         }
>>      }
>>   }
>> }
>>
>> as you see it tries to fit the font on height (fit: 0 1) and asks the
>> text to define the part's minimum size (min: 1 0) using that font.
>> This is a common usage pattern and I was using it to create
>> "width-for-height" in clock when I noticed this bug.
>>
>> I'll investigate it myself, but if someone that knows the code could
>> check. Likely it's applying ellipsis while it shouldn't.
>
> Likely revision 62639 fixes it, please check if it's the correct solution.

BTW, if you use edje_player and the above example, goes resizing pixel
by pixel you'll find some kind of bug in the fit algorithm... it goes
to a huge size, totally off, then goes back to normal...


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to