• 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: NSTextView Alignment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView Alignment


  • Subject: Re: NSTextView Alignment
  • From: matt neuburg <email@hidden>
  • Date: Sun, 22 Dec 2002 08:14:29 -0800

On Sat, 21 Dec 2002 00:06:15 EST, email@hidden said:

>I'm trying to align my entire NSTextView to center. I use this code:
>[viewField setAlignment:NSCenterTextAlignment range:NSMakeRange(0,
>[[viewField string] length])];
>PB will accept it, but the alignment never changes. What can I do?

You can call setNeedsDisplayInRect. m.

matt neuburg, phd = email@hidden, http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
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.

  • Prev by Date: Re: SOAP Server
  • Next by Date: SetLevel: window and drawers
  • Previous by thread: NSTextView Alignment
  • Next by thread: didClickTableColumn, setHighlightedTableColumn
  • Index(es):
    • Date
    • Thread