Text Wrap in NSBeginCriticalAlertSheet
Text Wrap in NSBeginCriticalAlertSheet
- Subject: Text Wrap in NSBeginCriticalAlertSheet
- From: John Nairn <email@hidden>
- Date: Mon, 19 Dec 2005 08:03:45 -0700
Recently the messages displayed in NSBeginCriticalAlertSheet have
stopped wrapping text. I am sure they used to wrap fine but now they
no longer do and full string messages can not be read. The call is
- (void)displayFailed:(id)localException
{
NSString *errMsg = [NSString stringWithFormat:
NSLocalizedString(@"'%@' could not be formatted for display",
@"Message when can not build custom view for a
record"),
[theRecord viewName]];
NSBeginCriticalAlertSheet(errMsg, nil, nil, nil, [self window],
self, nil,
@selector(closeOnError:returnCode:contextInfo:),
nil, @"%@", localException);
}
---------------
John Nairn (1-801-581-3413,
FAX:1-801-581-4816)
Web Page:
http://www.mse.utah.edu/~nairn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden