• 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: Display NSTextView as Label - without InterfaceBuilder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Display NSTextView as Label - without InterfaceBuilder


  • Subject: Re: Display NSTextView as Label - without InterfaceBuilder
  • From: Graham Cox <email@hidden>
  • Date: Mon, 13 Apr 2009 16:25:36 +1000


On 13/04/2009, at 4:22 PM, Graham Cox wrote:


On 13/04/2009, at 4:17 PM, Manuel wrote:

With this code it doesn't work. It is still displayed as a Textfield.


[label setBordered:NO];


or perhaps:

[label setBezeled:NO];

not sure what the difference between a border and a bezel is, but you want neither a border nor a bezel for a label.

--Graham


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Display NSTextView as Label - without InterfaceBuilder (From: Manuel <email@hidden>)
 >Re: Display NSTextView as Label - without InterfaceBuilder (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Display NSTextView as Label - without InterfaceBuilder
  • Next by Date: Re: Best way to pass large objects between tasks?
  • Previous by thread: Re: Display NSTextView as Label - without InterfaceBuilder
  • Next by thread: static vs non-static. Recommendation needed.
  • Index(es):
    • Date
    • Thread