• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Rotating text fields
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Rotating text fields (From: John Timmer <email@hidden>)

  • Prev by Date: Re: Forwarding to Super
  • Next by Date: changing the desktop picture
  • Previous by thread: Rotating text fields
  • Next by thread: [ANN] iPartition 1.0 Demo Now Available
  • Index(es):
    • Date
    • Thread