On Fri, Jan 23, 2009 at 6:04 PM, Thiago Zanetti <[email protected]> wrote:
> Hi everybody,
>
> I was trying to do some trasition effects into a TEXT part, like change
> the font size so the text can looks like it's growing but it's not
> working as I thought. So I ask you guys, it's possible to do transitions
> with TEXT parts?
As I told you in IRC (so it stays for future reference):
You can have 2 different states and do transition between them, just
bear in mind that some transitions are "binary", that is, they're
either the first state or the second and not an intermediate. This is
specially true for fields inside text {...} block, but also happen
for properties like "visible". So if you want to change font size,
you should use "text { fit: X Y; }" where X and Y are booleans (1 or
0) to make text fit geometry in that axis, with that you can resize
part using rel1/rel2 and it will "grow" or "shrink". Don't abuse this
as fitting text inside box is not a cheap operation, try to minimize
axis and if possible avoid this for items or states you know the font
size for sure.
--
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:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel