Re: Rotating text fields
Re: Rotating text fields
- Subject: Re: Rotating text fields
- From: Stéphane Sudre <email@hidden>
- Date: Thu, 1 Jul 2004 11:57:54 -0700
On Jul 1, 2004, at 10:34 AM, John Timmer wrote:
I've been playing around with NSView's "setRotation" methods, but I
can't
seem to find a magical combination that would cleanly rotate an
NSTextField
- everything seems to leave the frame cropped in an awkward manner,
instead
of neatly encapsulating the text. Have I missed the obvious, or am I
better
off subclassing NSTextField and adding some affine transformations to
the
draw methods?
Thanks for any advice,
I don't know why you would need to edit a Text Verticall for instance
but if you have a look at the way Vertical TabView are edited in
Interface Builder, the fact is that the text when it's not edited is
displayed vertically but when edition is running, the editing text
field is horizontal.
The same solution is used in OmniGraffle AFAIK.
My $0.02
_______________________________________________
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.