Where is the text baseline in an NSTextField
Where is the text baseline in an NSTextField
- Subject: Where is the text baseline in an NSTextField
- From: Craig Altenburg <email@hidden>
- Date: Mon, 6 Feb 2006 13:41:59 -0500
I want to programmatically position an NSTextField so that the
displayed text's baseline is at a pre-defined position.
The only information that I have found about text baseline uses the
NSLayoutManager but I see no way of getting an NSLayoutManager from a
NSTextField.
Is there a way to determine where the text baseline is for an
NSTextField?
Thanks,
--
Craig
_______________________________________________
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