There's actually width and height parameters you can set on the
ImageWithString patch. This sets a bounding box for the text if non
zero, so wrapping will occur at word boundaries (if possible). The
default value of zero simply means automatic width and height, so the
text doesn't wrap.
Horizontal and Vertical alignment are not inputs, but you can change
them in the settings panel.
On Jul 6, 2006, at 9:44 PM, Eric Blanpied wrote:
Is there a way to dynamically wrap text to a rect of some kind? I
can't seem to find a simple way to do this. I suppose one could
count characters, find word breaks, and wrap it, but I'd rather
not. Right now I'm having my app spit out an image of the text and
passing that to the comp. It would be cool to have the control of
NSAttributedString in a patch. "Image with Styled String". Has
anyone done that?
-e
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (Quartzcomposer-
email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/tkoelling%
40apple.com