• 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
Setting fixed height of NSTextView in IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting fixed height of NSTextView in IB


  • Subject: Setting fixed height of NSTextView in IB
  • From: Stuart Malin <email@hidden>
  • Date: Tue, 31 Mar 2009 11:42:50 -1000

I need to layout an NSTextView instance in a view. I don't want this text view to be scrollable, and so have removed it from being embedded in the Scroll View that it was in. When I view the size attributes of the Text View in the Inspector, I can't set the Frame dimensions (they are grayed out). Why is this? I also can not adjust the vertical size of the NSTextView in the view where it is placed, as I am not presented with any "handles" to do so when the Text View is selected. I can however set the frame programmatically in the -awakeFromNib when the Nib is instantiated, so the size can be controlled. Is there a way to set initial sizes in IB? (I have tried limiting the Max Height attribute, but this hasn't helped.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Prev by Date: "No line number information available for address 0xXXXXX"
  • Next by Date: Re: "No line number information available for address 0xXXXXX"
  • Previous by thread: Re: "No line number information available for address 0xXXXXX"
  • Next by thread: Crash Reporter shows symbols of stripped app -- it's OK!
  • Index(es):
    • Date
    • Thread