Thomas Hervé wrote:

Jason Bunting a écrit :

> I had a comment/question:
>
> The puff, squish, grow and shrink effects all change the font size to
make
> it looks like the text is being affected in the same way as the
container
> thereof - sometimes the overall effect is not so smooth because the text
> starts to wrap differently as the container changes size. I don't know
what,
> if anything, can be done about that, but I do wonder if it would be
possible
> to pass an additional parameter to these to turn off the font scaling.
> Basically, I want to have the effect on the container, but not the
> text/elements within it, just like the fold effect, for example.
>
> Does any of that make any sense?

Yes, it does ! There's a scaleContent option in the Scale class, I've
made it available in puff/shrink/grow in revision 1242. I hope it's
that you needed.

Yes, this is a nice thing to have - I probably didn't explain myself very
well, because this does exactly what it sounds like I was after. I guess
what I mean is that if you look at the effect of 'fold' for example, the
text doesn't move or change, but the container essentially gets smaller,
first vertically and then horizontally. What I am after is having 'shrink'
do the same thing as 'fold' except that it would obviously look a bit
different.
If this doesn't make any sense, don't worry - maybe I will just have to
figure this out on my own and post my results...

Thanks,
Jason

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.26/594 - Release Date: 12/20/2006
3:54 PM



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to