keeping tooltips from wrapping
keeping tooltips from wrapping
- Subject: keeping tooltips from wrapping
- From: Mark Munz <email@hidden>
- Date: Sun, 16 May 2004 07:34:58 -0600
Does anyone know how to keep the text in the tooltip from wrapping when
I set it programmatically? I need to be able to control the wrapping.
I noticed that if I set a long tooltip in IB, the tooltip doesn't wrap
early (using the same strings as I did below).
However, if I set it programmatically with something like:
NSString* myString = @"You can use the following optional sequences in
this field if you desire.\rYou can use the following optional sequences
in this field if you desire.\r";
[myButton setToolTip: myString];
the tooltip wraps early.
Thanks.
Mark Munz
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.